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. Problem with german charachter set (umlauts)

Problem with german charachter set (umlauts)

Scheduled Pinned Locked Moved Support
8 Posts 2 Posters 60 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.
  • K
    K
    kibeki_gmx.net
    wrote on last edited by
    #1

    Hi,

    when an extension label include a pattern like 'ß' it prevend fop2 to show the context after login.
    When I remove this character from the label it loads the context.
    The queue member with the name that contains 'ß' is shown correctly. But when I click the queue the extension of disappears.

    Is there any workaround?

    Thanks,
    Bernd

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

      The config files MUST be saved as utf8. You might encounter unexpected behaviour if the utf8 chain is broken. Asterisk does not support that well, so if you use extra characters in a callerid, it will end up breaking the display. The beta version fixes some character issues but with the phonebook, not the main display per se. Be sure to save config files as utf8. There is one place that I have yet to fix (the queue member list), but every other part should work fine with extended characters. Best regards,

      1 Reply Last reply
      0
      • K
        K
        kibeki_gmx.net
        wrote on last edited by
        #3

        Sorry, but there is no change in changing the files or string to utf8 in the described behavior. Is it possible to change the strings to html code like this: ß ?

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

          Where are you saving the characters? In a fop2 config file or an asterisk one? You can try with thml encoded characters, no problem. But I know a fop2 cfg file will work if you save as utf8. We have russian, chinese, latin1 working with no problems. Best regards,

          1 Reply Last reply
          0
          • K
            K
            kibeki_gmx.net
            wrote on last edited by
            #5

            I use the fop2 config files under /usr/local/fop2 and use the following to save them as utf8: vi -c ":wq! ++enc=utf8" fop2.cfg

            I wonder why the queue labels are correct.

            1 Reply Last reply
            0
            • K
              K
              kibeki_gmx.net
              wrote on last edited by
              #6

              Nicolás, I found the mistake.

              It is my php-code that generates these fop2-files. Obviously the files look correct in the vi. But they don't work under fop2.
              When I delete whole content and afterward do ":r fop2_xx.cfg" in the vi the files also work the german umlaut characters.

              Strange.

              Regards, Bernd

              1 Reply Last reply
              0
              • K
                K
                kibeki_gmx.net
                wrote on last edited by
                #7

                I found out the it is not valid to name context as cero '0'. The '@' is also not a valid character with in context names.
                Could you confirm this?

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

                  Aha! You mean context names? I do not think its advisable to use any ascii above 127 for context names....

                  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