can't save in utf-8

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
chings228
Posts: 1
Joined: Fri Feb 29, 2008 9:01 am

can't save in utf-8

Post 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
User avatar
Nicholas Jordan
Posts: 124
Joined: Mon Dec 20, 2004 12:33 am
Location: Central Texas ISO Latin-1
Contact:

maybe toolbar help

Post 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 ?
gr8dane
Posts: 12
Joined: Wed Sep 26, 2007 1:05 am

Post 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.
Post Reply