Static html pages charset

Report bugs found in Poker Mavens

Static html pages charset

Postby johndoo » Thu Nov 13, 2014 6:31 am

Hello,

If I add a link in my "top html" that points to a static html page stored on the poker server, when I click on it it shows up BUT the charset seems to be modified by the poker server.
When I open the page in a browser (local file or through an url on another website) , all is OK (my page is UTF-8 encoded with the <meta> charset UTF-8 tag).
When I am on the poker client and click on the link at the top of the page , I obtain something that looks like UTF-8 to ANSI convertion (so when the poker server reads the static html and sends it to the poker client , some transformation occurs).

Exemple: I see "Présentation" instead of "Présentation".
johndoo
 
Posts: 50
Joined: Mon Nov 03, 2014 4:42 pm

Re: Static html pages charset

Postby Kent Briggs » Thu Nov 13, 2014 10:19 am

Email me a sample file that illustrates the issue so I can test it locally. Also include the text you are putting the "Top HTML" field.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3763
Joined: Wed Mar 19, 2008 8:47 pm

Re: Static html pages charset

Postby Kent Briggs » Thu Nov 13, 2014 1:31 pm

I'm only seeing the issue with Internet Explorer. All other browsers seem to render the UTF-8 correctly. Apparently IE is looking at the http headers for rendering info and ignoring the meta tag. I can force IE to render UTF-8 by right clicking and selecting "Encoding".
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3763
Joined: Wed Mar 19, 2008 8:47 pm

Re: Static html pages charset

Postby Kent Briggs » Thu Nov 13, 2014 2:27 pm

I think I have a fix for IE. I was only setting the charset for internal files fed by the poker server. For custom files it was defaulting to ISO-8859-1 and apparently IE grabs that from the response header and ignores the meta tag. Anyway, I'll set a UTF-8 header for all files in the next update.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3763
Joined: Wed Mar 19, 2008 8:47 pm

Re: Static html pages charset

Postby johndoo » Thu Nov 13, 2014 3:34 pm

Wow that's realtime debugging :mrgreen:

Thank's a lot, I can then continue to write html pages with UTF-8 and wait for the next update ;)
johndoo
 
Posts: 50
Joined: Mon Nov 03, 2014 4:42 pm

Re: Static html pages charset

Postby Kent Briggs » Fri Nov 21, 2014 5:05 pm

This is now fixed in 4.34
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3763
Joined: Wed Mar 19, 2008 8:47 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 3 guests