[Seaside] Displaying non-ascii characters

Yar Hwee Boon hboon at motionobj.com
Fri Nov 12 02:59:48 CET 2004


On Thu, 11 Nov 2004 19:17:39 +0100, Kamil Kukura <kamk at volny.cz> wrote:

> Yar Hwee Boon napsal(a):
>> I'm running windows and opening the file in notepad shows the text   
>> correctly. But garbage is shown  on the HTML page. Can anyone help?  
>> Thanks.
>
> I assume you mean Windows' notepad here. Just make sure you save file as  
> (File / Save As...) content with UTF-8 encoding. But that's not all,  
> notepad will save file with UTF-8 preamble (3 bytes 0xEF 0xBB 0xBF)  
> which I think indicate what is byte-ordering of the file.

Thanks everyone. Saving as "UTF-8" is correct. Previously I was saying as  
"Unicode" which NotePad interpreted as UTF-16.

-- 
Regards
HweeBoon
MotionObj


More information about the Seaside mailing list