Bosnian Characters

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
ourpobox
Posts: 54
Joined: Wed 2. Jun 2004, 16:41
Location: Virginia, USA
Contact:

Bosnian Characters

Post by ourpobox »

Hello,

I am working with a site that is in English and Bosnian. It is having trouble displaying certain characters in Bosnian and I think it is related to the character set in the database, but am not sure. Can somebody tell me what I need to do to get Bosnian Characters to display correctly on phpWCMS? It was OK until we upgraded to 1.3.3 and I think it changed the character set...right?

Thanks!

Greg
ourpobox
Posts: 54
Joined: Wed 2. Jun 2004, 16:41
Location: Virginia, USA
Contact:

Re: Bosnian Characters

Post by ourpobox »

BUMP!

Nobody has any insight or advice to get my Bosnian characters to display correctly? Please? :cry:

Greg

ourpobox wrote:Hello,

I am working with a site that is in English and Bosnian. It is having trouble displaying certain characters in Bosnian and I think it is related to the character set in the database, but am not sure. Can somebody tell me what I need to do to get Bosnian Characters to display correctly on phpWCMS? It was OK until we upgraded to 1.3.3 and I think it changed the character set...right?

Thanks!

Greg
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi Greg,
It was OK until we upgraded to 1.3.3 and I think it changed the character set...right?
And your charest before upgrading?
DB charset?
DB collation?
System charset?

A charset switch on a running site is going with trouble.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Post by update »

Too late again :oops:

check the items Knut has recommended
put the Non-English language as default
save the respective lang files in "UTF-8 without BOM" (e.g. with editor http://notepad-plus.sourceforge.net/uk/site.htm)
claus
ourpobox
Posts: 54
Joined: Wed 2. Jun 2004, 16:41
Location: Virginia, USA
Contact:

Post by ourpobox »

flip-flop wrote:Hi Greg,
It was OK until we upgraded to 1.3.3 and I think it changed the character set...right?
And your charest before upgrading?
DB charset?
DB collation?
System charset?

A charset switch on a running site is going with trouble.

Knut
I didn't change the charset on purpose. I assumed it must have taken place automatically with an upgrade. Actually, I don't know that it DID change...only that suddenly certain characters don't display any more.

DB charset is UTF8
DB collation is UTF8_general_ci
Where can I find my system charset?

If anybody has any suggestions, I am happy to hear!

Greg
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Where can I find my system charset?
Mhhh, at the conf.inc.php?
Have you compare the conf.inc.php during the upgrade with the old conf.inc.php?
What version was the basic system?

The system don´t change this file.
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
ourpobox
Posts: 54
Joined: Wed 2. Jun 2004, 16:41
Location: Virginia, USA
Contact:

Post by ourpobox »

flip-flop wrote:
Where can I find my system charset?
Mhhh, at the conf.inc.php?
Have you compare the conf.inc.php during the upgrade with the old conf.inc.php?
What version was the basic system?

The system don´t change this file.
I don't have a copy (as far as I know) of the old config file. The current one has utf-8 as the charset. I tried changing that to iso-8859-1, but it made no difference. I will change it back and see if any other ideas come up.

Thanks,

Greg
ourpobox
Posts: 54
Joined: Wed 2. Jun 2004, 16:41
Location: Virginia, USA
Contact:

Post by ourpobox »

Oh...one more update. I asked the person editing the pages what characters are not working and she said:

mainly ć č đ are the ones missing.

Greg
ourpobox
Posts: 54
Joined: Wed 2. Jun 2004, 16:41
Location: Virginia, USA
Contact:

Post by ourpobox »

ourpobox wrote:Oh...one more update. I asked the person editing the pages what characters are not working and she said:

mainly ć č đ are the ones missing.

Greg
Just another update. I got some Bosnian text sent to me for the site, so I could try some things. I went in in WYSIWYG HTML as the content part and added the lines I was given. It shows up in the fckeditor window with the extended characters just fine. When I update the content, it updates with question marks where the extended characters should be. :? Can't figure it out. Any suggestions, anyone?

Greg
ourpobox
Posts: 54
Joined: Wed 2. Jun 2004, 16:41
Location: Virginia, USA
Contact:

Post by ourpobox »

flip-flop wrote:
Where can I find my system charset?
Mhhh, at the conf.inc.php?
Have you compare the conf.inc.php during the upgrade with the old conf.inc.php?
What version was the basic system?

The system don´t change this file.
I looked at the old files and found that the old system was 1.1 RC4...the REALLY old one. In that version, there is nothing about charset in the conf.inc.php.

Was that in another file somewhere in that version? I want to check and see if I can find it, so I can compare the setting. I'll be looking...

Greg
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

I think there wasn´t a db charset and collation.
If you have updated this 1.1rc4 DB, please have a look into and find the right charset and ((collation)).

Otherwise the providers standard DB charset /collation was running with 1.1rc4.
I don´t know this for you.
In germany and north europe this is latin1 (charset) and latin1_swedish_ci (collation) - with the correspondig system charset iso-8859-1

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
ourpobox
Posts: 54
Joined: Wed 2. Jun 2004, 16:41
Location: Virginia, USA
Contact:

Post by ourpobox »

I see that Oliver has changed the charset back to ISO-8859-1 in a recent snapshot. It must be the change to UTF-8 that messed up my website. I will try the snapshot and see what it does for me.

Greg
Post Reply