|
#1
|
|||
|
|||
|
my language is Chinese,when I'm browsing the page, the browser will not set to utf-8 even in autodetect mode. when I set it to utf-8, it go back to non-utf-8 after going to another page.
and my past php.ini setting: default_charset = "iso-8859-1" and if I add ";" before it, the page also goes to a mess. add one more line for utf-8: default_charset = "iso-8859-1" default_charset = "utf-8" it works well,even in those websites set in gb2312,but if I place the utf-8 to the first line,mess again. does it accept only the last line. does most of the servers on the net set like this? eleven2? riminia had suggest me to add a jscript to enforce the encoding in th comment form. how to do that? Thanks.
__________________
jdleung's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar |
|
#2
|
|||
|
|||
|
jdleung,
the form-characterset is defined like that, as we do in all the PP-forms: Code:
<form action="......." method="....." accept-charset="UTF-8"> Code:
unicode_semantics = off unicode.runtime_encoding = iso-8859-1 unicode.script_encoding = utf-8 unicode.output_encoding = utf-8 unicode.from_error_mode = U_INVALID_SUBSTITUTE unicode.from_error_subst_char = 3f |
|
#3
|
|||
|
|||
|
yes, my webpages' pp form is right.
and I will try it. Thanks.
__________________
jdleung's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar |
|
#4
|
|||
|
|||
|
Connie
the unicode seem on testing and not for public. but I think it's a good news.
__________________
jdleung's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar |
| Post Reply |
| Thread Tools | |
|
|