Topic: Problem with åäö

i have read the posts about it but cant get it to work. in my phpmyadmin i cant change in the kollition utf8_general_ci to t ex utf8_swedish_ci or any other for that mater

my forum is on this page, zagger.mine.nu/forum

thansk for any help

Re: Problem with åäö

You get

An error was encountered
Error: Unable to insert search index words.

Enable debug mode, paste the full error

Re: Problem with åäö

This topic may also help:
http://punbb.org/forums/viewtopic.php?id=13226

Re: Problem with åäö

here is the error

File: /var/www/localhost/htdocs/forum/include/search_idx.php
Line: 149

PunBB reported: Unable to insert search index words

Database reported: Dubbel nyckel '' för nyckel 1 (Errno: 1062)

Re: Problem with åäö

Yup, it's the same error
Read this topic, see if it helps:
http://punbb.org/forums/viewtopic.php?id=13226

Re: Problem with åäö

Translated: "Database reported: Duplicate entry '' for key 1 (Errno: 1062)

Re: Problem with åäö

did it but now i dont get any error but it donw shows any åäö

Re: Problem with åäö

I found the issue
Your forum's charset needs to be set to UTF-8. Right now, it's set to the default, which is iso-8859-1. You'll need to edit the language file.

Re: Problem with åäö

in /lang/Swedish/common.php?

Re: Problem with åäö

Yes

Re: Problem with åäö

tryed ans still nothing

<?php


// Determine what locale to use
switch (PHP_OS)
{
        case 'WINNT':
        case 'WIN32':
                $locale = 'swedish';
                break;

        case 'FreeBSD':
        case 'NetBSD':
        case 'OpenBSD':
                $locale = 'utf8';<--- changed this after the two down
                break;

        default:
                $locale = 'utf8';<--- changed this after the one down
                break;
}

// Attempt to set the locale
setlocale(LC_CTYPE, $locale);


// Language definitions for frequently used strings
$lang_common = array(

// Text orientation and encoding
'lang_direction'                =>      'ltr',  // ltr (Left-To-Right) or rtl (Right-To$
'lang_encoding'                 =>      'utf8', <---changed this first
'lang_multibyte'                =>      false,

Re: Problem with åäö

Make it UTF-8
It works fine in Firefox as it is though

Re: Problem with åäö

hmm i get still emty posts

Re: Problem with åäö

I don't know, it works fine for me in Firefox and IE smile

Re: Problem with åäö

lol, im useing firefox to, im gonig to test in IE tongue

Re: Problem with åäö

in IE is see åäö, but only in the posts, the rest i get scuare in the layout of the forum.

Re: Problem with åäö

Because the Swedish language files aren't encoded for UTF-8 it seems wink

Re: Problem with åäö

aha tongue and how are we going to fixa that?

Re: Problem with åäö

This assumes you use Notepad to open these files wink
Try downloading copies of the files, opening them, choosing Save As, and set the encoding to UTF-8.

Re: Problem with åäö

no i use nano smile but i know what u meant by it tongue

Re: Problem with åäö

the problem is the server itself, it uses wrong characterset or something, thats why ppl has problem like me.