Hello,
I have a problem (possibly a bug?) with the newest Textpad versions:
Files with extensions .cmd and .bat are always opened with ANSI codepage, although there is a valid document class which defines default DOS encoding.
It works fine with Textpad 7.5.1, but not with 7.6.2 and 8.0.2 (x64 versions).
Default DOS encoding fails with document classes
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Bug still in 8.1.0
Hello,
is there a chance to get a reply?
The problem still exists in 8.1.0
is there a chance to get a reply?
The problem still exists in 8.1.0
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
"Set
Configure | Preferences | Document Classes | <your class> | Default encoding: DOS"
I use the German Version. But apart from that
I did that in 7.54, but the setting is not saved to the configuration file or the registry or wherever to. Where are the settings saved, by the way, could this be the real problem?
In 8.15 I do not find "DOS" at all.
Configure | Preferences | Document Classes | <your class> | Default encoding: DOS"
I use the German Version. But apart from that
I did that in 7.54, but the setting is not saved to the configuration file or the registry or wherever to. Where are the settings saved, by the way, could this be the real problem?
In 8.15 I do not find "DOS" at all.
Re: Default DOS encoding fails with document classes
TextPad 8 stores its configuration in %APPDATA%\Helios\TextPad\8\ConfigState.xml, rather than in the registry.
You can create a document class named "DOS" using Configure/New Document Class. TextPad 8 doesn't have one by default, as both it and Windows use Unicode internally and the DOS character set is just a subset of that.
Depending on the purpose of your files, it may be better to save them encoded as UTF-8, and then they can contain a mixture of ANSI and DOS characters.
You can create a document class named "DOS" using Configure/New Document Class. TextPad 8 doesn't have one by default, as both it and Windows use Unicode internally and the DOS character set is just a subset of that.
Depending on the purpose of your files, it may be better to save them encoded as UTF-8, and then they can contain a mixture of ANSI and DOS characters.