Hello,
Every time I open a UTF-8 document with non-ANSI characters I get this warning:
WARNING: "file.txt" contains characters that do not exist in code page 1252 (ANSI - Latin I). They will be converted to the system default character, if you click OK
This makes reading and editing the file impossible. Can this be resolved?
Thanks!
PS: My version is 4.3.1
Non-ANSI characters warning
Moderators: AmigoJack, bbadmin, helios, MudGuard
On windows XP this problem not appears, TP open all files, but on Vista TP show me the same warning:"WARNING: "file.txt" contains characters that do not exist in code page 1252 (ANSI - Latin I). They will be converted to the system default character, if you click OK"
My UTF file contains only english and curillic (windows-1251) characters.
(sorry for my english
)
My UTF file contains only english and curillic (windows-1251) characters.
(sorry for my english
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm
As Berend says, TextPad does not properly support Unicode: it displays each document using only one (8-bit) code page at a time. Your document contains characters that exist in Windows CP1252, and TextPad is trying to display it using Windows CP1251.
Select
Configure | Preferences | Document Classes | <Class> | Font | Script: Cyrillic
or
View | Document Properties | Font | Script: Cyrillic.
Here is the correspondence between scripts and code pages:
Select
Configure | Preferences | Document Classes | <Class> | Font | Script: Cyrillic
or
View | Document Properties | Font | Script: Cyrillic.
Here is the correspondence between scripts and code pages:
Code: Select all
Western 1252
Greek 1253
Turkish 1254
Central European 1250
Cyrillic 1251