Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

PF character encoding: UTF8 vs iso-8859-1


Print Track
Hello:

I manage two generally parallel, unmodified PF 7.00.05 sites, one in English, one in Polish. Both are operating normally.

In particular, the Polish site correctly renders Polish diacritic characters as well as a sprinkling of "special" German and Cyrillic characters. When I examine the PF-generated headers, I see

<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />

exactly as I would expect. Unicode is the way to go.

The English site renders English characters correctly, of course, plus a similar sprinkling of "special" German and Cyrillic characters are rendered correctly. When I examine the PF-generated headers, I see

<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />

which is not what I expect, as iso-8859-1 --as far as I can tell-- is incapable of rendering Polish diacritics and any Cyrillic. (I suppose I must except the non-diacritic Polish characters and Cyrillic characters that look like Latin ones, but the overlaps are beside the point.)

Q1: On a PF page declared to be iso-8859-1 encoded, how is it that the Polish diacritics and Cyrillic characters render correctly? Could the browser be reading the BOM or doing an analysis of the actual content and overriding the header declaration? Or what? Or am I completely misunderstanding character encoding?

Q2: Is there a good technical reason that the standard English 7.00.05 installation doesn't use utf-8? Or simply a lack of pressing reason to convert it?

Q3: (Bonus Question) Is there a quick-n-easy php method of determining the encoding of a particular file?

TIA,

hen3ry

0 replies

author hen3ry
forumGeneral Discussion
replies1 post
viewed2351 times
activeLast updated on 9 years ago

Related

WDF? Member from character "_"
Started by ozzWANTED ozzWANTED - 2 posts
"get article categories by first character"
Started by
H
harem - 1 post
PHP-Fusion doesn't set character set in MySQL
Started by
J
jaaa - 5 posts
Character problem on copy-paste
Started by
G
gencgonullu - 6 posts
1000+ Character SQL error - MAC OSX Clients
Started by Routh Routh - 2 posts
Locale in submit will not accept UTF 8 character
Started by janmol janmol - 2 posts

Hot Questions

Basti
Guestbook v4.05
Basti - 70 posts
I
FusionBoard 4.0 stable
iunruh - 59 posts
I
Fusionboard4: BETA 1 RELEASED!
iunruh - 92 posts
I
Post your desktop
iunruh - 92 posts
Homdax
T
RE: cruisejournals.com
the truth - 45 posts
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
Users who participated in discussion: hen3ry