Lister – set multimedia (.rtf) encoding

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

Lister – set multimedia (.rtf) encoding

Post by *User919 »

Lister is able to open .rtf files but how to set encoding for this opening?
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Post by *Usher »

Encoding is defined in rtf itself. If you have problems, then the file is probably broken or incomplete.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

You’re wrong!

Post by *User919 »

Well,

files are okay in terms of WordPad. Typically the characters “č”, “ř”, “ž”, “ě” ale decoded badly in Lister.
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Post by *Usher »

Wordpad don't report errors when opening broken and incomplete files. It may just stop at the place when parsing fails. What is more, Wordpad may break or fix files during editing.
Or maybe the files are really old and use non-Unicode fonts, so:
1. Try to open the file in Libre Office. If LO reports error, then the file is broken.
2. If the file opens in LO, open it in Wordpad, make any edit, save file with a new name and see if Lister displays it OK.
3. Repeat step 2 in LO and you will probably see that:
- Lister displays some accented characters at the top of the file.
- Lister uses default LO font instead of font used in rtf file.
4. Open file generated by LO in Wordpad and you will probably see a picture like described in p.3, but a little bit different:
- Wordpad doesn't display accented characters at the top.
- Wordpad uses default LO font to display text, but on the font toolbar you will see fonts used in the old rtf file.

Now you should understand that both TC/Lister and Wordpad use system control riched20.dll to display rtf files. This lib is broken in most Windows versions/updates and MS aren't going to fix it (they recommend to use MS Office that comes with its own richedit control).

So what is your suggestion?
Andrzej P. Wozniak
Polish subforum moderator
browny
Senior Member
Senior Member
Posts: 287
Joined: 2007-09-10, 13:19 UTC

Post by *browny »

hugobruno wrote:Typically the characters “č”, “ř”, “ž”, “ě” ale decoded badly in Lister.
Have you tried to change font in Lister's options?
User avatar
User919
Junior Member
Junior Member
Posts: 54
Joined: 2017-06-06, 19:14 UTC

Issue solved

Post by *User919 »

Lister is okay.

Issue was cause by setting “Use Unicode UTF-8 for worldwide language support”. See Image: https://sourceforge.net/p/sevenzip/feature-requests/_discuss/thread/926aad4b/1b8f/324e/attachment/4.png.
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

[mod]Moved to the English forum.

Hacker (Moderator)[/mod]
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I see - in this case, the options "Default" and "ANSI" in Lister would also mean Unicode. You should be able to use ANSI by choosing a specific encoding like "Western".
Author of Total Commander
https://www.ghisler.com
Post Reply