collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: French Language / UTF8 ??  (Read 2088 times)

0 Members and 1 Guest are viewing this topic.

Offline Sethathon

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
    • Guilde Fré³¥s de Sang Ishtar
French Language / UTF8 ??
« 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
« Last Edit: August 27, 2010, 11:45:29 pm by Sethathon »

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: French Language / UTF8 ??
« Reply #1 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.
BeBot Founder and Fixer Kingpin

Offline Sethathon

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
    • Guilde Fré³¥s de Sang Ishtar
Re: French Language / UTF8 ??
« Reply #2 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 ?

Offline Sethathon

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
    • Guilde Fré³¥s de Sang Ishtar
Re: French Language / UTF8 ??
« Reply #3 on: August 29, 2010, 10:07:10 am »
Nevermind, I've found it by myself

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 124
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal