-
Sencha User
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".
-
Best Answer Posted by
Gary Schlosberg
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?
-
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?
-
Sencha User
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.
-
Sencha User
the is the project http://binartist.com/Liuxue360/index.html
type "admin" for both forms for login, never mind the language
-
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.
-
Sencha User
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.
-
Sencha User
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
-
Forum Rules