-
XML files and reading from cyrillic
Hello, I want to start that I'm a newby in the Flash disigning. I created a Flash website and did the settings to take information for XML files, but I wrote the content of the XML files on cyrillic and when I loaded the website the information was missing. I saw some tutorials and Topics and change with Notepad C++ the encoding of the XML files to utf8 but that didn't work too. Then I continued to read in the internet and found that this line must be on my first line of all my XML files:
Code:
<?xml version="1.0" encoding="utf-8"?>
I change the encoding with utf8 but that didn't help too. Could you give me some advise what i shoud do to fix this problem. Thanks in advance and sorry for my bad English.
-
Total Universe Mod
as long as you have a parent node for all your data you should be fine
Code:
<?xml version="1.0" encoding="utf-8"?>
<root>
<base1>
</base1>
<base2>
</base2>
</root>
-
jAQUAN, I cannot fully understand you, here is my code can you see it and tell me what exactry to change. Thanks in advance.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<gallery wwidth="870" wheight="700" twidth="300" theight="300" vspacing="1" hspacing="1">
<foto title="АВТОБИОГРАФИЯТА МИ(this is my cyrilic text)" thumb="img/bio/biografie1.jpg">
<description>Я да пробваме така(this is my cyrilic text)</description>
</foto>
<foto title="АПАРАТА С КОЙТО СНИМАМ(this is my cyrilic text)" thumb="img/bio/biografie2.jpg">
<description></description>
</foto>
</gallery>
-
Dignitary
Use CDATA (Character Data):
Code:
<![CDATA[АПАРАТА С КОЙТО СНИМАМ]]>
and make sure you embed the full font.
-
Senior Member
also, make sure it is actually utf8, and not just says so in <?xml encoding="" ?>
-
I added the CDAATA:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<gallery wwidth="870" wheight="700" twidth="300" theight="300" vspacing="1" hspacing="1">
<foto title="BIOGRAPHY 1" thumb="img/bio/biografie1.jpg">
<description><![CDATA[ПРОБААААААААА]]></description>
</foto>
<foto title="ABOUT" thumb="img/bio/biografie2.jpg">
<description><![CDATA[ПРОБААААА 22222222]]></description>
</foto>
</gallery>
but still not working only the "22222222" apeared in the box Any ideas, thx in advance.
-
Dignitary
Yep, your going to need to switch that to TLF text and manage it that way unfortunately. Which will mess with all your fonts.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|