Page 1 of 1

Language problems

Posted: Mon Oct 16, 2006 1:46 pm
by Krzyzak
Hi. My problem is with translation- it`s in UTF-8, and some of special- Polish signs aren`t displayed (for example ń,ć,ł,ą - displayed as sth. like (?) ) If I change in lang file as
@define('LANG_CHARSET', 'UTF-8');
as
@define('LANG_CHARSET', 'iso-8859-2"');
translation is good, but whole content from my site are displayed uncorrectly.

Re: Language problems

Posted: Mon Oct 16, 2006 3:00 pm
by garvinhicking
Hi!

In your s9y configuration, you can simply choose "Native" charset, does that help in your case?

Regards,
Garvin

Posted: Mon Oct 16, 2006 3:12 pm
by Krzyzak
negative, sir :wink:

Posted: Mon Oct 16, 2006 3:46 pm
by garvinhicking
Hi!

What's your URL? Which browser to do you use to create entries? Do you use the WYSIWYG editor?

In either case, you need to not edit the language.php files and change the charset,, that's quite bad. :)

You must also pay attention that if you change the Native/UTF-8 setting of s9y, this does not effect older entries. Try to create a new entry and see if those are right instead!

Best regards,
Garvin

Posted: Mon Oct 16, 2006 4:01 pm
by Krzyzak
Hi!
Hi!

What's your URL? Which browser to do you use to create entries? Do you use the WYSIWYG editor?
currently: http://localhost ;) Opera 9/Linux without any WYSIWYG
You must also pay attention that if you change the Native/UTF-8 setting of s9y, this does not effect older entries. Try to create a new entry and see if those are right instead!
I`ve change charset to iso, than post new entry- that works! but problem is, that all data in database has bad charset- which sql charset shall I use? (if it`s possible, to that cause problems...)

Posted: Mon Oct 16, 2006 4:46 pm
by garvinhicking
Hi!

If you use the "native" mode with iso-8859-2 you'll need to set the charset to latin1 or latin2 as well, I think. However it shouldn't reall ymatter how it's stored in the database, as long as serendipity fetches it with the right charset "in mind"...

HTH,
Garvin

Posted: Mon Oct 16, 2006 5:08 pm
by Krzyzak
Hi.
http://digital-creations.pl/blog/ check it - charset: iso-8859-2 in ACP- Native. Databese Data looks good, but file data has some errors.

Posted: Tue Oct 17, 2006 8:48 am
by Krzyzak
could anybody help me?

Posted: Tue Oct 17, 2006 8:49 am
by Krzyzak
could anybody help me?

Posted: Tue Oct 17, 2006 10:36 am
by garvinhicking
Hi!

Can you tell us where we can see the errors exactly?

Bear with us/me, I'm not able to read polish. :) Maybe you could ask CoSTa from the forums if he has any clues?!

Best regards,
Garvin

Posted: Tue Oct 17, 2006 4:12 pm
by Krzyzak
I`ll try to explain where is my problem-
On first image content has good charset, translation bad charset (in ACP Native, Lang. file: UTF-8 )
Second Image translation has good charset, content bad. (ACP Native, Lang: iso-8859-2)
Maybe you could ask CoSTa from the forums if he has any clues?!
CoSTa ? I think, I know him - I`ll try :)

Posted: Tue Oct 17, 2006 4:15 pm
by garvinhicking
Hi!

Never mix ISO-charsets and UTF/NATIVE options.

Only use UTF-8 when you use UTF-8 charse.t Only use NATIVE when you use ISO-charset.

Will look at your images tomorrow, but maybe costa can help too, as he uses polish :)

Regards,
Garvin