Page 1 of 1

can't save in utf-8

Posted: Fri Feb 29, 2008 9:06 am
by chings228
i have a file contaning two chinese charater

i saved this file in utf-8 format , but each time i open the file , i found that the chinese character changes to monster and the file is in ANSI rather than UTF-8

I tried again and save file in UTF-8 , but it happened again.

the file with hundreds of chinese charater doesn't not have similar problem , pls help , thanks

maybe toolbar help

Posted: Fri Feb 29, 2008 1:05 pm
by Nicholas Jordan
at top of TextPad window, in toolbar: Configure / Preferences / Document Classes / Default do you have both "Write Unicode and UTF-8 BOM" and also "Default Encoding UTF-8" both check boxes with check-marks ?

Posted: Tue Nov 04, 2014 11:05 pm
by gr8dane
I know this is a very old post, but I thought this might help someone else. I had the same issue (except with Danish characters), and my work-around for files that only contain one or two Danish characters, is to place the following comment in the HTML:

Code: Select all

<!-- Force UTF-8 encoding by TextPad: æ Æ ø Ø å Å é -->
Now those files stay saved as UTF-8, but it's a real pain that I have to resort to these measures.