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
-
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
-
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.
-
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 ?
-
Nevermind, I've found it by myself