ryansuitposungkono / openjs-grid

Automatically exported from code.google.com/p/openjs-grid
0 stars 0 forks source link

Foreign caracters (like ñ or á...) not handled #66

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Any text field from the database with an accented or foreign character (like 
{á é, ñ, Ñ,...) returns NULL for the whole field value.

What version of the product are you using? On what operating system?
1.8, win7

Original issue reported on code.google.com by rothhir...@gmail.com on 6 Mar 2012 at 5:16

GoogleCodeExporter commented 9 years ago
NON-ISSUE, sorry, accented chars must be utf-8 encoded.

Original comment by rothhir...@gmail.com on 7 Mar 2012 at 12:02

GoogleCodeExporter commented 9 years ago
i'm using one with this plug in:
http://stackoverflow.com/a/3521340/470383

Original comment by ginger...@gmail.com on 14 Mar 2012 at 3:01

GoogleCodeExporter commented 9 years ago
Use 
mysql_query("SET NAMES 'utf8'");
mysql_query("SET CHARACTER SET 'utf8'");
in ajax.php after the connect to your database. 
That should work.

If thats not fixing see if you have the files all saved with
"UTF-8 without BOM" - I use notepad++ you can change encoding there.

Original comment by steffen....@gmail.com on 4 Jun 2012 at 7:11