Summary: | Missing encoding declarations in the Gentoo Forums Web pages | ||
---|---|---|---|
Product: | Gentoo Infrastructure | Reporter: | Olivier Fisette (RETIRED) <ribosome> |
Component: | Forums | Assignee: | Forum Moderators <forum-mods> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | flammie |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 102537 | ||
Bug Blocks: |
Description
Olivier Fisette (RETIRED)
![]() I see there would be at least two problems with this approach. For once the meta http-equiv is a hack to get proper charset defined if server is not giving any charsets. If something should be configured it will be the server sending the encoding in the actual header data, in that way you'll also get all browsers to obey it. The more serious problem however is that phpbb relies on absence of the charset definition and browsers' autodetection on multilingual fora. If you set the charset to ISO-8859-15 you'll bork characters I see there would be at least two problems with this approach. For once the meta http-equiv is a hack to get proper charset defined if server is not giving any charsets. If something should be configured it will be the server sending the encoding in the actual header data, in that way you'll also get all browsers to obey it. The more serious problem however is that phpbb relies on absence of the charset definition and browsers' autodetection on multilingual fora. If you set the charset to ISO-8859-15 you'll bork characters ½ (1/2 vulgar fraction) and ' (upwards accent used as apostrophe) for all US-ASCII users. On more serious problem that will bork all CJK-users as well as cyrillic, greek and so on. Should any charset be selected it had to be unicode one, either UTF-8 or UTF-16. I would suggest the former since it is well supported in all modern browsers including even NN 4.8, lynx and IE 6. Will be fixed in the upcoming conversion to UTF-8. See bug #102537. Now we've converted the forums to UTF-8 I've added 'charset=UTF-8' to the meta tag. Fixed. |