Tranditional Chinese Displaying Problem on button label
-
Dear Sir,
I got ASCII text result[/color:2bni3c9v] 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 buttonsthen I recheck file type again
#file extensions1.cfg
extensions1.cfg: UTF-8 Unicode text, with LF, NEL line terminatorsso 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

Thanks for your help
mfhsu
-
-
Found a topic on the forum http://forum.fop2.com/3709-tranditional-chinese-displaying-problem-on-button-label .
Before use iconv "file buttonsTP1.cfg buttonsTP1.cfg: UTF-8 Unicode text", buttons, and queues were in Chinese.
Using "iconv -f latin1-t utf8 /usr/local/fop2/buttonsTP1.cfg > /usr/local/fop2/buttonsTP2.cfg" "dos2unix /usr/local/fop2/buttonsTP2.cfg" buttons and the queue began to appear correctly, but the inside of the queue line is still in Chinese. What can you do? -
-
I do not think I can do much, I still do not understand exactly what you want to achieve. If a button configuration file is saved in utf8 format, and has the proper utf8 codes for whatever character set you might want to use, it will work fine. If you have mixed charsets, incorrect formats, results will be random/strange or even they could break the fop2 application.
Do you want to display cyrilic or chinese? What do you see when you edit your button config file with vim on the server itself?
-
-
-
Purchased a license.
fop2_server version 2.28asterisk -rx "queue show MainQueue"
MainQueue has 0 calls (max unlimited) in 'ringall' strategy (10s holdtime, 247s talktime), W:0, C:659, A:589, SL:0.0% within 0s
Members:
Zaostrovskii (Local/100114@queuephone_billing/n from SIP/100114) (ringinuse enabled) (dynamic) (Not in use) has taken no calls yet
Local/100124@queuephone_billing/n (ringinuse enabled) (dynamic) (Not in use) has taken 44 calls (last was 515 secs ago)
Local/100119@queuephone_billing/n (ringinuse enabled) (dynamic) (In use) has taken 12 calls (last was 356 secs ago)
Local/100111@queuephone_billing/n (ringinuse enabled) (dynamic) (In use) has taken 5 calls (last was 33 secs ago)
Local/100118@queuephone_billing/n (ringinuse enabled) (dynamic) (Not in use) has taken no calls yet
No Callers -
Purchased a license.
fop2_server version 2.28asterisk -rx "queue show MainQueue"
MainQueue has 0 calls (max unlimited) in 'ringall' strategy (10s holdtime, 247s talktime), W:0, C:659, A:589, SL:0.0% within 0s
Members:
Zaostrovskii (Local/100114@queuephone_billing/n from SIP/100114) (ringinuse enabled) (dynamic) (Not in use) has taken no calls yet
Local/100124@queuephone_billing/n (ringinuse enabled) (dynamic) (Not in use) has taken 44 calls (last was 515 secs ago)
Local/100119@queuephone_billing/n (ringinuse enabled) (dynamic) (In use) has taken 12 calls (last was 356 secs ago)
Local/100111@queuephone_billing/n (ringinuse enabled) (dynamic) (In use) has taken 5 calls (last was 33 secs ago)
Local/100118@queuephone_billing/n (ringinuse enabled) (dynamic) (Not in use) has taken no calls yet
No Callers -
-
I have just used your exact buttonsTP2.cfg on my test server, and there are no issues with button labels (I cannot see queue member labels as I do not have those queues setup, however, the queue buttons themselves that show funny in your previous screenshot look fine here. I would suggest to redownload 2.28 and install over... as there is nothing strange on your buttons.cfg file.
-
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login