BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => AoC 0.6 support => Topic started by: Sethathon on August 27, 2010, 11:40:01 pm

Title: French Language / UTF8 ??
Post by: Sethathon on August 27, 2010, 11:40:01 pm
Hi,

ok, so I'm seriously going nuts with that, so that's why I'm here asking for help.
I can't manage to make my bot speak French  :D
It keep displaying stuff like " connecté" instead of "connecté" (french for "online")

I've edited the files, saving them with encoding set both to "UTF8 Without BOM" and "UTF8" but neither work. (using notepad++ under windows to edit. But i can use the linux "vim" command if that may help)

So how do I do ??
Please help, I'm really becoming crazy  :o
Title: Re: French Language / UTF8 ??
Post by: Khalem on August 28, 2010, 02:56:24 pm
BeBot is PHP based, which means it does not handle UTF8 natively too well.

BeBot uses utf8_encode/decode which translates anything from the server from UTF8 to iso-8859-1 and vice versa.

So in order for your output to be correct, you will need to save your files using iso-8859-1 encoding.
Title: Re: French Language / UTF8 ??
Post by: Sethathon on August 29, 2010, 09:48:11 am
Hi and thanks for the answer.

In notepad++ I can set the character set to ISO-8859-1 but what encoding should I use ?
UTF-8 with BOM, UTF-8, AINSI ?
Title: Re: French Language / UTF8 ??
Post by: Sethathon on August 29, 2010, 10:07:10 am
Nevermind, I've found it by myself
SimplePortal 2.3.7 © 2008-2025, SimplePortal