1

Topic: Creating categories/forum with specific national characters

Hi,

I can`t create categories and forums with Polish characters sad

List of characters: ???????ó? ???????Ó?

Example error message: "Error: Unable to update forum."

Re: Creating categories/forum with specific national characters

Moved to Troubleshooting
Enable debug mode, post the full error

3

Re: Creating categories/forum with specific national characters

File: \www\forum\admin_forums.php
Line: 181

PunBB reported: Unable to update forum

Database reported: Data too long for column 'forum_name' at row 1 (Errno: 1406)

Re: Creating categories/forum with specific national characters

Aha smile
You're using one of the newer versions of MySQL in strict mode?

5

Re: Creating categories/forum with specific national characters

Ok, done.

MySQL command: "SET NAMES latin2" send after mysql_connect resolve a problem smile

Re: Creating categories/forum with specific national characters

arekp wrote:

Ok, done.

MySQL command: "SET NAMES latin2" send after mysql_connect resolve a problem smile

I was going to suggest SET NAMES 'UTF8', but whatever works smile

7 (edited by arekp 2006-10-29 20:41)

Re: Creating categories/forum with specific national characters

Smartys wrote:

I was going to suggest SET NAMES 'UTF8', but whatever works smile

HTML header Content-Type is set to iso-8859-2. SET NAMES must be set to a 'latin2' becouse data posted from HTML are encoded in latin2.

Re: Creating categories/forum with specific national characters

Ah, makes sense: converting to UTF-8 just seems to be more popular around here tongue