Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 05-23-2006, 03:44 AM
jdleung Offline
pixelpost guru
 
Join Date: Feb 2006
Location: Foshan, China
Posts: 553
Smile utf-8 question

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
Reply With Quote
  #2  
Old 05-23-2006, 06:44 AM
Connie
Guest
 
Posts: n/a
jdleung,

the form-characterset is defined like that, as we do in all the PP-forms:

Code:
<form action="......." method="....." accept-charset="UTF-8">
I found some settings in php.ini in PHP-CVS which might be helpful for you:

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
check this out, maybe you find the trick!
Reply With Quote
  #3  
Old 05-23-2006, 07:21 AM
jdleung Offline
pixelpost guru
 
Join Date: Feb 2006
Location: Foshan, China
Posts: 553
Smile

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
Reply With Quote
  #4  
Old 05-23-2006, 08:52 AM
jdleung Offline
pixelpost guru
 
Join Date: Feb 2006
Location: Foshan, China
Posts: 553
Smile

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
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 08:55 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs