html - Characters entered from foreign users showing as? -


i'm working on site has users other countries. part english text people use special characters chinese symbols or e accent. these symbols displaying "?" when shown on site.

the site has utf-8 charset declaration , sql server database field nvarchar. did test going google translate , having translate "good morning" japanese. when copied resulting kanji site , saved myself worked fine.

what causing issue? i'm guessing it's because text being entered in charset not utf-8. accept-charset="utf-8" resolve issue? if not can do? if there no way fix existing bad data can prevent issue in future?

sql server 7.0 , sql server 2000 use different unicode encoding (ucs-2) , not recognize utf-8 valid character data.

see following knowledge base article dealign storing/retreieving utf-8 data in ms sql server database: http://support.microsoft.com/kb/232580


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -