8.0.2: "Docu Classes > Def. encoding" effectles

General questions about using TextPad

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

Post Reply
User avatar
AmigoJack
Posts: 499
Joined: Sun Oct 30, 2016 4:28 pm
Location: グリーン ヒル ゾーン
Contact:

8.0.2: "Docu Classes > Def. encoding" effectles

Post by AmigoJack »

As we found out in http://forums.textpad.com/viewtopic.php?t=13008 no matter which setting you use in Configure > Preferences > Document Classes > * > Document class options > Default encoding, it has no effect. Saving a file with an á as UTF-8 file and then re-opening it won't use the default encoding as set in the Document Class - it will interpret it as ANSI.

This applies to all "real" classes and to "pseudo" classes like "tool output" as well.
User avatar
AmigoJack
Posts: 499
Joined: Sun Oct 30, 2016 4:28 pm
Location: グリーン ヒル ゾーン
Contact:

Post by AmigoJack »

This is still the case with 8.1.0:

Image

Is http://forums.textpad.com/viewtopic.php?p=42836#42836 and this actually one and the same bug?
chrisjj
Posts: 149
Joined: Sat Jan 21, 2006 10:32 pm

Re: 8.0.2: "Docu Classes > Def. encoding" effec

Post by chrisjj »

AmigoJack wrote:Saving a file with an á as UTF-8 file and then re-opening it won't use the default encoding as set in the Document Class - it will interpret it as ANSI.
It won't even use the explicit encoding! See http://forums.textpad.com/viewtopic.php?p=42846#42846 .

And see:

https://www.textpad.com/support/relnotes.html#v810
Issues Resolved:
When files contain only ASCII characters, the document class should have been checked to determine if they should be treated as UTF-8.
Post Reply