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. Charset

Charset

Scheduled Pinned Locked Moved Support
7 Posts 3 Posters 99 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.
  • H
    H
    hb22
    wrote on last edited by
    #1

    Hello

    I'm french and there are é, è, à, and so.
    It is not "Herv" but "Hervé". It is not "Qualit" but "Qualité Informatique"
    "Annuaire téléphonique" is ok.
    I'm having problems with code page.

    The reason?

    http://support.qualite-info.fr/hb22/FOP2-PB-accents.jpg

    1 Reply Last reply
    0
    • H
      H
      hb22
      wrote on last edited by
      #2

      Solution :
      php.ini
      ; default_charset = "iso-8859-1"
      default_charset = "utf-8"

      my.cnf
      [mysqld]
      init_connect='SET NAMES utf8; SET collation_connection = utf8_general_ci;'
      default-character-set = utf8
      default-collation = utf8_unicode_ci
      character-set-server = utf8
      collation-server = utf8_unicode_ci
      skip-character-set-client-handshake

      [client]
      default-character-set = utf8

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

        thanks for posting the solution!

        However, there is an .htaccess file in fop2 html directory that sets the character set to utf8, and we use spanish characters with the stock fop2 configuration and mysql configuration that comes with pbx in a flash and elastix and we do not have that problem.

        Your solution will come handy for trouble installations. Thanks!

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

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

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

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

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

              That is a really strange issue that I will have to look for.

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

                I have confirmed that behaviour, using flash xmlsockets will break deflate+utf8+base64 for some reason that I could not find out. It is a problem with libraries, not with actual fop2 code. So, in the meantime I tried removing deflate from the equation and have straight utf8+base64 coding on the server side, and it worked fine, at least when using flash xmlsockets (I have not tried with https, but I asume it will be similar).

                So, I think I will leave that change for the upcoming 2.29, so anyone with wide characters on buttons and using xmlsockets instead of standard websockets will not have issues.

                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