Bug 128686 - [susehelp] incorrect chars in czech links
Summary: [susehelp] incorrect chars in czech links
Status: RESOLVED FIXED
: 210895 (view as bug list)
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Documentation (show other bugs)
Version: Final
Hardware: Other Other
: P3 - Medium : Minor (vote)
Target Milestone: ---
Assignee: Will Stephenson
QA Contact: Karl Eichwalder
URL:
Whiteboard:
Keywords: Czech
Depends on:
Blocks:
 
Reported: 2005-10-17 11:09 UTC by Lukas Lipavsky
Modified: 2008-12-11 11:41 UTC (History)
4 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
khelpcenter (cs) (133.73 KB, image/png)
2007-05-31 14:53 UTC, Karl Eichwalder
Details
Hungarian variant (147.21 KB, image/png)
2007-06-01 08:09 UTC, Karl Eichwalder
Details
now the one with markers... (144.48 KB, image/png)
2007-06-01 08:12 UTC, Karl Eichwalder
Details
Czech screenshot (105.63 KB, image/png)
2007-06-01 10:10 UTC, Klara Cihlarova
Details
czech-screen-shot-detail.png (3.89 KB, image/png)
2007-06-01 13:52 UTC, Mike Fabian
Details
czech 10.3 screenshot (58.02 KB, image/jpeg)
2007-10-02 13:50 UTC, Lukas Lipavsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Lipavsky 2005-10-17 11:09:24 UTC
In czech environment (locale cs_CZ.UTF-8) in SuSE Help center, when search
results are displayed, there are correct czech characters (diacritics) in
"Pre-made" parts of the result page, but in >>links<< to the pages, there are
czech characters replaced by (probably) unicode escape sequences. 

Seems like 2 different encodings are used in one document or that help browser
doesn't interpret the esc.sequences correctly

Steps to reproduce (probably requires czech environment AND CZECH SUSE
DOCUMENTATION "Start-Up (cs)"):

1. Open SuSE help center
2. into search enter: "mp3"
3. do search

wrong results are:
Výsledky hledání 'mp3':
SUSE Linux Documentation (cs)
Start-Up (cs)
6.3. D&#367;le&#382;ité nástroje a postupy (09/07/05)
7.3. D&#367;le&#382;ité nástroje (09/07/05)
Slovník pojm&#367; (09/07/05)
SUSE Linux Documentation (en)
Start-Up (en)
7.2. Konqueror as a File Manager (09/12/05)
8.3. Important Utilities (09/12/05)
7.3. CDs: Playback and Ripping (09/12/05)
Chapter 14. Using Beagle (09/12/05)
Glossary (09/12/05)
Reference (en)
7.2. Konqueror as a File Manager (09/12/05)
8.3. Important Utilities (09/12/05)
7.3. CDs: Playback and Ripping (09/12/05)
Chapter 14. Using Beagle (09/12/05)
Glossary (09/12/05)
Application Manuals
KDE Application Manuals
k3b (07/26/05)
amarok (09/04/05)
kaffeine (09/04/05)
kmid (05/23/05)
krusader (04/09/05)
Kořen dokumentace
Poznámky k vydání
SUSE Linux Documentation (cs)
6.3. D&#367;le&#382;ité nástroje a postupy (09/07/05)
7.3. D&#367;le&#382;ité nástroje (09/07/05)
Slovník pojm&#367; (09/07/05)
SUSE Linux Documentation (en)
7.2. Konqueror as a File Manager (09/12/05)
8.3. Important Utilities (09/12/05)
7.3. CDs: Playback and Ripping (09/12/05)
Chapter 14. Using Beagle (09/12/05)
Glossary (09/12/05)
Comment 1 Karl Eichwalder 2005-10-18 13:27:12 UTC
Cornelius, there seems to be a problem with the cs environment.
Comment 2 Lukas Lipavsky 2006-02-08 13:44:18 UTC
ping
Comment 3 Cornelius Schumacher 2006-02-08 15:08:18 UTC
Reassign to new susehelp maintainer.
Comment 4 Will Stephenson 2006-10-12 13:32:02 UTC
*** Bug 210895 has been marked as a duplicate of this bug. ***
Comment 5 Will Stephenson 2007-01-25 10:26:56 UTC
Lukas, is this still a problem in 10.2 or SLE10?
Comment 6 Lukas Lipavsky 2007-01-25 12:20:57 UTC
Both 10.2 and SLED contains no Czech suse documentation (well, it has translated categories, etc, but all help itself is in English)

However on kde SLED there is a problem in exactly same situation:
in kde susehelp with czech locale, one of the caption is displayed incorrectly (white square instead of accented char):
There is: Ko[[this represents white square]]en
There should be: Kořen
Comment 7 Karl Eichwalder 2007-05-31 14:50:07 UTC
Please, provide a screenshot.  In general it looks fine to me (SLED10 SP1, taken one of the late RC cantidates).  See attachment.
Comment 8 Karl Eichwalder 2007-05-31 14:53:13 UTC
Created attachment 143247 [details]
khelpcenter (cs)
Comment 9 Karl Eichwalder 2007-05-31 14:54:09 UTC
Do I have to install a czech manual to reproduce the problem?
Comment 10 Balazs Melikant 2007-05-31 17:32:19 UTC
I had similar problem under _Hungarian_ locale, which has been reported as Bug #210895 for openSUSE 10.2 (linked above).
On the screenshot I posted "Fejlesztés" means in fact "Development" and only some of the special characters were effected. Therefore likely not the Czech locale itself is defected (or not only that one)...
Maybe this info helps you to trace back the problem.
Comment 11 Karl Eichwalder 2007-06-01 08:05:59 UTC
I guess either the font lacks the wanted character (but isn't it considered to try other fonts as fallback?) or one of the involved .desktop or .directory files isn't properly UTF-8 encoded.  We probably have to check case by case.

On my 10.2 system, /usr/share/susehelp/meta/Development/.directory containing

    Comment[hu]=Dokumentáció fejlesztőknek

looks fine, so I'd like to blame the font...  I'm inclined to assume it is the same with Czech. See attachment.
Comment 12 Karl Eichwalder 2007-06-01 08:09:44 UTC
Created attachment 143442 [details]
Hungarian variant

Green square with "u with oblique double quote" is fine; the black circle with a placeholder is not what we would like to see.
Comment 13 Karl Eichwalder 2007-06-01 08:12:48 UTC
Created attachment 143444 [details]
now the one with markers...
Comment 14 Klara Cihlarova 2007-06-01 10:08:49 UTC
You do not need to install the Czech guides. The problem is possible to reproduce with the Czech Release Notes. Install Czech Release Notes and use keyword "Instalace", see screenshot.
Comment 15 Klara Cihlarova 2007-06-01 10:10:44 UTC
Created attachment 143488 [details]
Czech screenshot
Comment 16 Karl Eichwalder 2007-06-01 12:24:39 UTC
Yes, I was able to reproduce it.  But the string in the update-desktop-files.cs.po is fine:

/usr/share/susehelp/meta/release-notes.desktop
#: /usr/share/susehelp/meta/release-notes.desktop
msgctxt "Comment(release-notes.desktop)"
msgid ""
"A short description of the most important changes for this SUSE Linux release"
msgstr "Krátký popis nejdůležitějších změn v této verzi SUSE Linuxu"

Probably a font issue.  I'm running khelpcenter on top of GNOME, does it also happen in KDE?
Comment 17 Balazs Melikant 2007-06-01 12:56:03 UTC
Yes, the same happens in KDE as well! e.g. my previously mentioned similar issue on Hungarian locale was screenshot-ed while working under KDE.
Comment 18 Mike Fabian 2007-06-01 13:52:53 UTC
Created attachment 143607 [details]
czech-screen-shot-detail.png

This part from Klara's screen shot looks like an encoding problem,
*not* a font problem.
Comment 19 Mike Fabian 2007-06-01 14:08:56 UTC
The files RELEASE-NOTES.cs.{html,rtf} in openSUSE 10.2 seem to be OK though:

mike@nozomi:~$ ll   /usr/share/doc/release-notes/openSUSE/RELEASE-NOTES.cs*
-rw-r--r-- 1 root root 14989 2006-12-14 03:16 /usr/share/doc/release-notes/openSUSE/RELEASE-NOTES.cs.html
-rw-r--r-- 1 root root 12391 2006-12-14 03:16 /usr/share/doc/release-notes/openSUSE/RELEASE-NOTES.cs.rtf
mike@nozomi:~$ grep Pozn   /usr/share/doc/release-notes/openSUSE/RELEASE-NOTES.cs*
/usr/share/doc/release-notes/openSUSE/RELEASE-NOTES.cs.html:<title>openSUSE 10.2 Poznámky k vydání</title>
/usr/share/doc/release-notes/openSUSE/RELEASE-NOTES.cs.html: <h1>openSUSE 10.2 Poznámky k vydání</h1>
/usr/share/doc/release-notes/openSUSE/RELEASE-NOTES.cs.html: <p>Poznámky k vydání jsou neustále doplňovány. Nejnovější verzi najdete na <a href="http://www.suse.com/relnotes/i386/openSUSE/10.2/RELEASE-NOTES.en.html">http://www.suse.com/relnotes/i386/openSUSE/10.2/RELEASE-NOTES.en.html</a>. Vzhledem k častým aktualizacím anglické verze, ze které je překládána česká verze, může dojít k tomu, že překlad může být po krátkou dobu nekompletní.</p>
/usr/share/doc/release-notes/openSUSE/RELEASE-NOTES.cs.rtf: <h1>openSUSE 10.2 Poznámky k vydání</h1>
/usr/share/doc/release-notes/openSUSE/RELEASE-NOTES.cs.rtf: <p>Poznámky k vydání jsou neustále doplňovány. Nejnovější verzi najdete na <tt>http://www.suse.com/relnotes/i386/openSUSE/10.2/RELEASE-NOTES.en.html</tt>. Vzhledem k častým aktualizacím anglické verze, ze které je překládána česká verze, může dojít k tomu, že překlad může být po krátkou dobu nekompletní.</p>
mike@nozomi:~$ 
Comment 20 Karl Eichwalder 2007-06-01 14:19:08 UTC
Agreed. This (Klara's example) looks as if the indexer got something wrong.

I checked .desktop files only and those are properly encoded, AFAICS.
Comment 21 Mike Fabian 2007-06-01 14:27:44 UTC
As the files seem to be OK, there seems to be a problem with the generation of the results page.
Comment 23 Lukas Tinkl 2007-09-24 22:33:28 UTC
I don't see this happening anymore, do you Klara?
Comment 24 Lukas Lipavsky 2007-10-02 13:49:51 UTC
still problems with encoding in 10.3 - attaching screenshot. Steps to reproduce same as in Comment #14
Comment 25 Lukas Lipavsky 2007-10-02 13:50:35 UTC
Created attachment 175957 [details]
czech 10.3 screenshot
Comment 27 Will Stephenson 2007-12-14 13:53:39 UTC
will handle this in the jan susehelp sweep
Comment 28 Marcus Meissner 2008-12-10 08:59:55 UTC
please review if this still an issue and close if fixed.
moving to 10.3
Comment 29 Lukas Lipavsky 2008-12-11 11:41:56 UTC
Unable to reproduce it anymore in os10.3