Results 1 to 6 of 6

Thread: grid cell display non-ascii character in utf8 encoding value rather than the charater

  1. #1

    Default Answered: grid cell display non-ascii character in utf8 encoding value rather than the charater

    eg. I typed "??" in the cell, but it showed "u4e2du6587".

  2. In which version of ExtJS are you seeing this? I put the cellediting example from the docs into this Fiddle and it seems to work fine when I paste those characters into the editable field.
    https://fiddle.sencha.com/#fiddle/5gj

    Does the issue occur for you when you paste the characters instead of typing them?

  3. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    In which version of ExtJS are you seeing this? I put the cellediting example from the docs into this Fiddle and it seems to work fine when I paste those characters into the editable field.
    https://fiddle.sencha.com/#fiddle/5gj

    Does the issue occur for you when you paste the characters instead of typing them?

  4. #3

    Default

    Cell editing example worked fine for me from my local SDK-ExtJS 4.2.0 GPL, but for my own project (the same SDK) failed, not matter for typing or pasting.
    Well, try the project http://binartist.com/Liuxue360/index.html, typing "admin" for both forms for login and never mind the language.

  5. #4

    Default

    the is the project http://binartist.com/Liuxue360/index.html
    type "admin" for both forms for login, never mind the language

  6. #5
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Pasting those characters also works as expected in the Fiddle when using 4.2.0 as well. Seems like your code must be doing something to the field. Perhaps you can debug until you can isolate what the issue is.

  7. #6

    Default

    Seems "textfield" convert what I typed into utf8 literals - "<div style="text-align: left;" class="x-grid-cell-inner " unselectable="on" id="ext-gen1269">u4e2du6587</div>".

    I manually replaced u4e2du6587 to ??? then the cell showed ?? instead of u4e2du6587.

  8. #7

    Default

    eventually, I find that's caused by PHP, the store autosync enabled.

Posting Permissions

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