Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Special/accented characters not displaying - PFSense 2.3

    Scheduled Pinned Locked Moved Captive Portal
    6 Posts 2 Posters 971 Views
    Loading More Posts
    • 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.
    • A
      alvaro.buelvas
      last edited by

      Hello!

      I recently updated pfsense from 2.2.6 to 2.3. After that, special or accented characters in my captive portal page stopped displaying correctly. They show up as question marks. I have been reading about this, and already confirmed that the line is included in the code. If I take the same html file and uploaded to a pfsense 2.2.6 it will display correctly, and they issue will only occur when using it on a 2.3 installation. Also, if I open the file directly in any browser (IE, Chrome, Firefox) it also displays correctly.

      I attach the html file compressed to zip, as well as a couple of images to show the before and after.

      Thanks in advance for all the help you may provide and please let me know if there is any other info I should include.

      ![Before upgrade.png](/public/imported_attachments/1/Before upgrade.png)
      ![Before upgrade.png_thumb](/public/imported_attachments/1/Before upgrade.png_thumb)
      ![After upgrade.PNG](/public/imported_attachments/1/After upgrade.PNG)
      ![After upgrade.PNG_thumb](/public/imported_attachments/1/After upgrade.PNG_thumb)
      portal.zip

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Can you check the response headers from a browser in debug mode to see if perhaps there is some other difference? 2.2.x used lighttpd, 2.3 uses nginx, it's possible there is something in the HTTP headers making the browser interpret things differently.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • A
          alvaro.buelvas
          last edited by

          Hi! Thanks for replying.

          Do you mean something like the attached image? I used firefox to display de captive portal and looked for the debugger option, but only the inspector tab showed me info. Te debugger one only said "this page doesn't have sources".

          Headers.PNG
          Headers.PNG_thumb

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Click the Network tab there, and then click on the GET for the portal file, and then look at the headers on the right, specifically all of the "response headers"

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • A
              alvaro.buelvas
              last edited by

              Hi!

              I got this information in the network tab.

              ResponseHeaders.PNG
              ResponseHeaders.PNG_thumb

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                Now do the same against it on 2.2.x and compare :-)

                Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.