Dear Sir,
I got a problem in displaying "Tranditional Chinese" in button label , In the file /usr/local/fop2/buttons.cfg,
when I configure a button label with english, for example, label=mfhsu, in fop panel, it will show "mfhsu" on the button.
But when I configure label=王大明,in fop panel, it will not show correct characters on the button.
I am using asterisk 1.4.22 and fop2-2.27-centos-i386.tgz on centOS 6.2. and I also changed the preference.js to "zh'. it only change login page but not button label.
Sincerely hope you can help us to solve problem as soon as possible , we have bought two licenses and are going to use it in our project.
sincerely yours,
mfhsu
Answered by mfhsu
See post in contextDear Sir,
I got ASCII text result when I type "file extensions.cfg",
so I first use iconv command to convert file to utf8
such as
#iconv -f latin1 -t utf8 extensions.cfg > extensions1.cfg
but it still can not show correct Tranditional Chinese on the buttons
then I recheck file type again
#file extensions1.cfg
extensions1.cfg: UTF-8 Unicode text, with LF, NEL line terminators
so then use dos2unix command to convert the file
#dos2unix extensions1.cfg
dos2unix: converting file extensions1.cfg to UNIX format ...
Now, I can display correct characters on the buttons and group name :D
Thanks for your help
mfhsu