Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Tranditional Chinese Displaying Problem on button label

Tranditional Chinese Displaying Problem on button label

Scheduled Pinned Locked Moved Support
15 Posts 4 Posters 115 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N
    N
    nicolas
    wrote on last edited by
    #4

    Thanks for posting how you converted the file, it might come useful for other users!

    Personally I use vim to do the convertion, but explaining how to use VIM is quite complex in itself.

    Best regards,

    1 Reply Last reply
    0
    • P
      P
      pslav72
      wrote on last edited by
      #5

      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?

      1 Reply Last reply
      0
      • P
        P
        pslav72
        wrote on last edited by
        #6

        Enclose a picture, so it will be more understandable.

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #7

          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?

          1 Reply Last reply
          0
          • P
            P
            pslav72
            wrote on last edited by
            #8

            Should be displayed on the Cyrillic.
            Enclose a picture of the configuration file buttons.

            1 Reply Last reply
            0
            • N
              N
              nicolas
              wrote on last edited by
              #9

              Are you using FOP 2.28? can you attach your buttons.cfg file, or partial file so I can test it out? what is the output from:

              asterisk -rx "queue show"

              ?

              How do you see your queue member names in there?

              1 Reply Last reply
              0
              • P
                P
                pslav72
                wrote on last edited by
                #10

                Purchased a license.
                fop2_server version 2.28

                asterisk -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

                1 Reply Last reply
                0
                • P
                  P
                  pslav72
                  wrote on last edited by
                  #11

                  Purchased a license.
                  fop2_server version 2.28

                  asterisk -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

                  1 Reply Last reply
                  0
                  • R
                    R
                    romkazor
                    wrote on last edited by
                    #12

                    I have same problem in groups name. (FOP2 2.28 and latest firefox and chrome)
                    In Chrome all ok but in firefox is strange chinese

                    1 Reply Last reply
                    0
                    • N
                      N
                      nicolas
                      wrote on last edited by
                      #13

                      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.

                      1 Reply Last reply
                      0
                      • P
                        P
                        pslav72
                        wrote on last edited by
                        #14

                        Sorry...
                        Chrome.
                        Open through http encoding all good.
                        Through https bad.

                        and
                        http + var disableWebSocket = true; bad
                        http + var disableWebSocket = false; ok

                        1 Reply Last reply
                        0
                        • N
                          N
                          nicolas
                          wrote on last edited by
                          #15

                          I replied in another thread. Version 2.29 won't use deflate for sending the button config, the usage of deflate+utf8+base64 seems to caused the issue.

                          Best regards,

                          1 Reply Last reply
                          0

                          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
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          Powered by NodeBB Contributors
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups