Russian letter "ya" in Lister
Moderators: white, Hacker, petermad, Stefan2
Russian letter "ya" in Lister
1. Create txt-file with such combination of simbols: two small Russian letters "я", Tab and line breack (in hex: FF FF 09 0D 0A).
2. Open this file in lister.
3. The last vertical part of second letter "я" will be disappeared.
P.S. Tested in TC 7.50 pb2. OS: Win XP Pro Rus.
2. Open this file in lister.
3. The last vertical part of second letter "я" will be disappeared.
P.S. Tested in TC 7.50 pb2. OS: Win XP Pro Rus.
Last edited by bbutcher on 2009-05-01, 10:06 UTC, edited 3 times in total.
- ghisler(Author)
- Site Admin
- Posts: 48118
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Cannot confirm with Western locale and Encoding in lister set to Cyrillic (1251). I will try later with Russian locale as default.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Power Member
- Posts: 556
- Joined: 2006-04-01, 00:11 UTC
-
- Power Member
- Posts: 556
- Joined: 2006-04-01, 00:11 UTC
I confirm the problem too.
ghisler(Author)
For me, it seems to be very similar to this problem, fixed earlier. You wrote that time (on the beta forum) that GetTextExtentPoint32W worked strange with the Russian "я" character, returning 7 instead of 8 if Fixedsys was used…
ghisler(Author)
For me, it seems to be very similar to this problem, fixed earlier. You wrote that time (on the beta forum) that GetTextExtentPoint32W worked strange with the Russian "я" character, returning 7 instead of 8 if Fixedsys was used…
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 10.52 / Win10 x64
Using TC 10.52 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 48118
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
That's indeed possible, but it shouldn't affect the displaying of the line (which is handled by Windows itself)...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 48118
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately I couldn't reproduce it, although I switched the locale to Russian (Windows XP SP3). I tried with the default font, but both letters "я" look exactly the same. ![Sad :(](./images/smilies/icon_sad.gif)
![Sad :(](./images/smilies/icon_sad.gif)
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Power Member
- Posts: 556
- Joined: 2006-04-01, 00:11 UTC
- ghisler(Author)
- Site Admin
- Posts: 48118
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
German. What settings did you use in Lister? Did you set the codepage to "as in font" or to "Cyrillic"?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Power Member
- Posts: 556
- Joined: 2006-04-01, 00:11 UTC
I have tested with an empty ini-file , so it was "as in font".
I assume that this issue is unreproduceable on german OS because it offers a different font for cyrillic simbols than the russian OS. I also can reproduce this only with default Listers font and not with the other fonts installed on my system. I will try to reproduce this issue on german OS tomorrow and if succeed I will give an additional information about it.
[added]
BTW. I can see a difference when switching "as in font"/ANSI or "as in font"/1251 . Last vertical pixels line appears/disappears immediately.
I assume that this issue is unreproduceable on german OS because it offers a different font for cyrillic simbols than the russian OS. I also can reproduce this only with default Listers font and not with the other fonts installed on my system. I will try to reproduce this issue on german OS tomorrow and if succeed I will give an additional information about it.
[added]
BTW. I can see a difference when switching "as in font"/ANSI or "as in font"/1251 . Last vertical pixels line appears/disappears immediately.
- ghisler(Author)
- Site Admin
- Posts: 48118
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
When you use "as in font", TC uses Windows GDI to output the text. When you choose a codepage, TC uses the more complex Uniscribe to show the text. TC then draws to a bitmap first, and then draws this bitmap to the screen.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Power Member
- Posts: 556
- Joined: 2006-04-01, 00:11 UTC
Ok, I understand, but TC must always draw symbols as they are in font, not cut without regard for modus. I have tried today, as I promise. This issue is 100% reproducable under fresh installed WinXP German SP2 with fresh installed TC7.5PB3. The only thing I have made to reproduce it was the setting "Russisch für Programme, die Unicode nicht unterstützen". No installing of fonts was needed, no other settings. Here is screenshot.ghisler(Author) wrote:When you use "as in font", TC uses Windows GDI to output the text. When you choose a codepage, TC uses the more complex Uniscribe to show the text. TC then draws to a bitmap first, and then draws this bitmap to the screen.
[img=http://img41.imageshack.us/img41/4180/unbenanntx.th.png]
BTW. look please at the second screenshot
[img=http://img41.imageshack.us/img41/9130/unbenannt1g.th.png]
This is the same file opened in hexadecimal mode. I cannot see 0D 0A here. Is it right so? The file was made with Windows Notepad as written in the first post. Letter, Letter, Tab, save. Under russian OS I had 0D 0A at the end of file, but not here.