Wikipedia:Reference desk/Archives/Computing/2022 June 1
Appearance
Computing desk | ||
---|---|---|
< May 31 | << May | June | Jul >> | Current desk > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
June 1
[edit]Display problem with some letters with caron, but not all of them
[edit]Software problem: In generated PDFs with slavic-language texts, several letters with caron are not displayed, verified for č, ě, ř, and ť, while š and ž are displayed (others remain unchecked as of the moment). While display problems of special characters are an age-old and well-known problem with many possible reasons, the different behavior for different letters with caron seems weird to me. What may be the reason? (Font used in the PDF is Helvetica, with ANSI encoding; behavior seems consistent throughout different PDF readers). --KnightMove (talk) 13:25, 1 June 2022 (UTC)
- So, are you making the PDFs? Do you therefore have the Helvetica font file, and can you check to see what glyphs are in it? Can you set a fallback font in the PDF software for displaying special characters not found in Helvetica? Card Zero (talk) 15:13, 1 June 2022 (UTC)
- Your problem is the ANSI encoding aka codepage 1252 (Western European). It has š and ž but lacks many other common Slavic letters. This was a familiar problem here in the 90's and 00's before most software finally ditched codepages and went to Unicode. CP1250 (Central European) is what should be used here if Unicode/UTF won't work. 31.217.44.159 (talk) 03:04, 2 June 2022 (UTC)
- Thank you very much! --KnightMove (talk) 05:46, 2 June 2022 (UTC)