Hi,

on my site http://newskicks.com i want to add support for utf characters.i have changed the table to utf and i have added accpet-char='utf-8' i n the form.inc so that my form can send the utf supported data.but when i enter the utf data and preview it works fine but when i submit then all the utf characters are coming as "????"
i have no idea on why this is happneing,can anyone help me in this problem/
thanks for any help.
regards,
secgeek

Comments

valthebald’s picture

what do you mean by "changed table to utf"?
You have to set default connection collation and db/table collation to utf8_unicode_ci

secgeek’s picture

hi,

i used fantastico to install drupal so after searching the net i found the bellow URL:
http://forum.siteground.com/showthread.php?t=6321
so here there is one script:
http://www.urbannatives.net/localtreechild/drupal/drupal_code/script_con...
i have used it,but no luck :(

www.secgeeks.com
www.newskicks.com

chx’s picture

Never hack core. It's not the way. Also, do not use Fantastico which is an insecure recipe for disaster.
--
The news is Now Public | Drupal development: making the world better, one patch at a time. | A bedroom without a teddy is like a face without a smile. |

--
Drupal development: making the world better, one patch at a time. | A bedroom without a teddy is like a face without a smile.

pillarsdotnet’s picture

Good. — Fast. — Cheap.
(Pick any two.)