Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Cyrillic charecters in data-bound UI - bad reencoding

    Using LGPL 9.1, 10.0 versions of SmartClient on Crome 18, IE 11, FireFox 29, I come to the same problem:
    - UI components accepts cyrillic text, but in DS (RestDS in my case) they are reencoded in some unreadable form, in which returns to UI or goes to server.
    No matter what encoding are choosen in browser - UTF-8, Windows-1251...

    The problem arise just in showcase too http://www.smartclient.com/#applicationShowcaseApp
    - the screenshot of which I attach.
    Attached Files

    #2
    If you are using MySQL database, then you may consider adding characterEncoding setting to MySQL driver properties.
    This can be done via server.properties config using setting below:
    Code:
    sql.Mysql.driver.characterEncoding: utf8

    Comment


      #3
      Yes, thank you greatly.

      Sorry for bothering you - SmartClient was absolutely innocent.
      That was, really MySQL, and, in my case moreover, Restlet incoming request encoding too...
      Now it's OK.

      Thank you once again!

      Comment

      Working...
      X