Results 1 to 3 of 3

Thread: problem with unicode

  1. #1
    Ext User
    Join Date
    Sep 2007
    Posts
    13
    Vote Rating
    0
      0  

    Default problem with unicode

    Hi, you have helped me so many times guys
    I hope you will give me advice one more time I'm trying to load names of customers from database into grid. The problem is, that there is a symbol "

  2. #2
    Ext Premium Member BernardChhun's Avatar
    Join Date
    Mar 2007
    Location
    Quebec, Canada
    Posts
    831
    Vote Rating
    2
      0  

    Default

    character encoding needs to be done on the server side dudo.

    If your html page is in utf-8, then you need to encode your strings into utf-8 before sending it in JSON format. check your database's table encoding first. if it ain't in utf-8 then you'll need to decode it using the database encoding and encode it into utf-8.

    here's a short & easy example using Python when my database is in latin-1 and my webpage is in utf-8:

    [CODE]"l'h

  3. #3
    Ext User
    Join Date
    Sep 2007
    Posts
    13
    Vote Rating
    0
      0  

    Default Thank you

    Thank you for your answer, but I don't do mistakes like this. The problem was that I had everything in cp1250 encoding. I have changed it all to utf-8 and now it's finally working

Posting Permissions

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