Unknown character set: 'ISO' problem after upgrading

Started by Chronus, February 07, 2009, 11:33:18 AM

Previous topic - Next topic

Chronus

Hello,

I upgraded from 1.1.8 to 2.0 RC1. the upgrade went fine with no errors. when I try to load my forum I get this error:

Unknown character set: 'ISO'

Any thoughts? Thanks in advance



Tyrsson

What encoding do you use for the forum? default or utf-8?

This is not my strong suite but the answer could help one of the specialist in this area.
PM at your own risk, some I answer, if they are interesting, some I ignore.

Brettflan

It sounds to me like your language files might be corrupted or something. Several character sets start with "ISO", but are longer than that. The standard basic English character set for example is ISO-8859-1.
It might be helpful to check the /Themes/default/languages/ folder on your site and check the "index.<language>.php" file, where "<language>" is your forum's default language. Normally this would be "index.english.php". If you were using UTF8 (which it sounds like you're not), the "<language>" part would have "-utf8" on the end, like "index.english-utf8.php".

Near the top of the file should be a line which reads similar to this which specifies the character set to use:
$txt['lang_character_set'] = 'ISO-8859-1';

Chronus

Actually I use latin1 instedad of UTF-8. Could that be a problem? Would converting database to UTF-8 in admin panel before upgrading help?

Chronus

SOLVED: Upgraded lang files before updating forum version

Tyrsson

PM at your own risk, some I answer, if they are interesting, some I ignore.

Chronus

mee to. It was making me crazy. Now if someone else encounters a problem hopefully will find here an answer.

Advertisement: