Log in

View Full Version : Character Problem


dengbej
12-30-2008, 12:28 AM
Hi friends.

i have a got a problem.

i converted phpbb board to vbulletin by impex.Now i must download turkish language pack on board.But boards's charset UTF-8.When i changed turkish pack's xml(iso-8859-9 to utf-8),board was error.Please help me this problem.

Marco van Herwaarden
12-30-2008, 09:13 AM
You should never change a language xml file to change the characterset.

dengbej
12-30-2008, 01:22 PM
You should never change a language xml file to change the characterset.

but i read article about this

http://www.vbulletin.com/forum/showpost.php?p=1526728&postcount=6

Original code in XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<language name="Tr-Turkce" vbversion="3.6.0" product="vbulletin" type="custom">
<settings>
<options><![CDATA[1]]></options>
<languagecode><![CDATA[tr]]></languagecode>
<charset><![CDATA[ISO-8859-9]]></charset>

Changed Code

<?xml version="1.0" encoding="UTF-8"?>
<language name="Tr-Turkce" vbversion="3.6.0" product="vbulletin" type="custom">
<settings>
<options><![CDATA[1]]></options>
<languagecode><![CDATA[tr]]></languagecode>
<charset><![CDATA[UTF-8]]></charset>

is this impossible?i made this but was error :( please help me...

Marco van Herwaarden
01-01-2009, 11:58 AM
You would need to ask the person who posted those instructions. But AFAIK this would not work. What you are doing is telling the XML-file that it's contents are encoding in characterset X where in reality they are encoded in characterset Y.

The data should be converted to the new characterset and then exported into a new language file.