You are here: Big Brother Bot ForumGeneral CategoryGeneral DiscussionPharser special characters
Pages: [1]   Go Down
  Print  
Author Topic: Pharser special characters  (Read 981 times) Bookmark and Share
Jr. Member
**
Posts: 32
Offline Offline
WWW
« on: April 11, 2010, 12:33:31 PM »

Hey guys, frist all i want to say you congratulations!, nice job with the new version.

Ok, i was translate it the comands and messages of b3, but there is a problem with the special characters like "ñ,á", you know special characters in the config files i used de cdata <![CDATA[my string]]>, but doesn't works.
Logged


___________________________________
Pagina Oficial Apocalipsis Demencial

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3483
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #1 on: April 11, 2010, 12:57:47 PM »

what game ?
Logged

Jr. Member
**
Posts: 32
Offline Offline
WWW
« Reply #2 on: April 12, 2010, 03:27:36 AM »

Hi, cod4  Tongue
Logged


___________________________________
Pagina Oficial Apocalipsis Demencial
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3483
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #3 on: April 12, 2010, 03:56:07 AM »

you can try this : http://www.bigbrotherbot.com/forums/general-usage-support/multilanguage-(russian)-message-into-in-game-chat/

Not sure if it works.
Logged

Jr. Member
**
Posts: 32
Offline Offline
WWW
« Reply #4 on: April 12, 2010, 05:48:53 AM »

Ok, with <?xml version="1.0" encoding="iso-8859-5"?> at frist line in pluginadmin.xml seems works, another quetion, how pharse special characters in .py files (python)?  Huh
Logged


___________________________________
Pagina Oficial Apocalipsis Demencial
Jr. Member
**
Posts: 32
Offline Offline
WWW
« Reply #5 on: April 12, 2010, 06:22:19 AM »

Hi, well to spanish language in .xml file use at first line "<?xml version="1.0" encoding="iso-8859-1"?>", and the .py file use at the first line "# coding=iso-8859-1".

Tanks, Courgette and see you latter  Tongue
« Last Edit: April 12, 2010, 06:27:51 AM by Metal » Logged


___________________________________
Pagina Oficial Apocalipsis Demencial
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3483
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #6 on: April 12, 2010, 06:28:04 AM »

please give us feedbacks on your progress. I'm curious about how B3 could deal with chinese or cyrillic charsets
Logged

Jr. Member
**
Posts: 32
Offline Offline
WWW
« Reply #7 on: April 12, 2010, 08:28:09 AM »

Hey, well i was looking and seems that to chinese characteres it's use "charset=gb2312" and for cyrillic characters it's use "charset=iso-8859-5", take a look  chinese, russian  Tongue
« Last Edit: April 12, 2010, 08:29:58 AM by Metal » Logged


___________________________________
Pagina Oficial Apocalipsis Demencial
Tags: special  characters  xml  python 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal