Page 1 of 1

transcription error in Babylon Dict

PostPosted: Mon Apr 18, 2011 1:21 pm
by linxh
When using Babylon_English_Chinese_S_.BGL(http://www.babylon.com/free-dictionaries/languages/Babylon-English-Chinese-%28S%29/912.html) in GoldenDict 1.0.1, A problem occurs: some words' transcription is not right. ( see the attachment error.png).
error.PNG
error.PNG (1.75 KiB) Viewed 7320 times
. Maybe it should like
right.PNG
right.PNG (1.94 KiB) Viewed 7320 times
. this is maybe because the charset used in the dictionary;
I guess the definition of the word is seperated by '||'. The charset used before '||' is SOURCE_CHARSET, and TARGET_CHARSET after '||'. BUT in source code bgl_babylon.cpp, the definition is convertToUtf8 using TARGET_CHARSET. (around line 535). This maybe cause the problem.

To make goldendict more better, I suggest the developers fix this issue.

Thank you.

Re: transcription error in Babylon Dict

PostPosted: Tue Jul 05, 2011 8:34 am
by mehdishahini
I had this problem, before.
It is because of the font Gd uses.
you should change GD's font and use a font that supports unicode.
you can do it by changing in article-style.css

Re: transcription error in Babylon Dict

PostPosted: Tue Jul 05, 2011 10:11 am
by ikm
This is not a font problem. This is a bug in the current bgl implementation. The transcription is to be decoded using source charset, not the target one. This will be fixed in a future release.