Results 1 to 1 of 1

Thread: Kodowanie w javascript

  1. #1
    bogo123 is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    21

    Default Kodowanie w javascript

    Witam,
    Mam taki problem (v 4.2.0a + SugarCRM-4.2-LangPack-pl_PL): przy tworzeniu 'Zgłoszenia' wybieram 'Nazwę klienta' (np. "Spółka") zaś w polu wstawiane jest "Sp[][]ka" - czyli jakieś inne kodowanie. Późniejszy rekord 'Zgłoszenia' ma nazwę klienta z krzakami :/ Detale konta wyświetlają się prawidłowo, w bazie wpis również jest poprawny - dla kodowania UTF-8.

    Prawdopodobnie chodzi o to, że funkcja encode($var) w include/JSON.php źle konwertuje znaki, bo dla SPÓŁKA otrzymujemy SP\u00c3\u0093\u00c5\u0081KA , a powinno być SP\u00d3\u0141KA .
    encode($var) wywoływane jest w include/ListView/ListView.php - linia 1285
    Last edited by bogo123; 2006-07-05 at 12:39 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •