Re: encoding for comments

Joe Gregorio <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
gabor wrote:
...
> but the problem is more complicated...
> 
> because the stuff that the comments plugin writer, aren't imho unicode
> strings...
> 
> imho they are taken from the POST request the way they are....
> 
> so imho if the data in the POST request is in the same encoding as the
> 'blog_encoding' (is it?), then it's safe to simply do it the way is it
> for now.
> 
> am i right?

Seems correct since the body of the POST is encoded based on 
the encoding of the page that servers up the form:

http://www.intertwingly.net/blog/2004/04/15/Character-Encoding-and-HTML-Forms

	-joe

-- 
http://BitWorking.org
http://WellFormedWeb.org



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.