Page 1 of 1

Textpad 4.7, does not use UTF8 API?

Posted: Tue Aug 26, 2003 4:31 pm
by ajmas
Looks like while Textpad 4.7 has apparently improved UTF8 support, it is still lacking. Here are the issues:

* Can't open files with chinese characters - this is an indication that Textpad 4.7 is not using the UTF8 file API.
* The display is limited to the cp-1225, it can not display characters outside of this range. So even if it can recognise and open a file as UTF-8, it fails to display the characters properly. My test document includes: Greek, Russian and Japanese characters, all of which are outside the range of this code set. Since Wordpad and Notepad succeed, Textpad should be able too.

This has been observed which a North American version of Windows 2000, service pack 4, with all regional options enabled.

In the meantime I make use of Babelpad to properly deal with these files, though I wish I didn't have to: http://uk.geocities.com/BabelStone1357/ ... elPad.html

Posted: Tue Aug 26, 2003 6:09 pm
by ajmas
A quick example is the use of the function 'CreateFile' - http://msdn.microsoft.com/library/defau ... tefile.asp
which has both an ANSI and a unicode implementation. To better supported files with non-ANSI characters in their names, the unicode implementation should be used.

Good replacement!

Posted: Sat Dec 13, 2003 4:42 am
by lexthang
Thanks for the link, very useful indeed!

Posted: Mon Dec 15, 2003 10:54 am
by ramonsky
This is a known problem :cry: . I have proposed that TextPad fix it in this poll. Please vote for the fix.

Jill