Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
IOS Hotels
and
IOS Rentals
online booking systems for Elxis CMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Technical support
»
XML wrong encoding
« previous
next »
Print
Pages: [
1
]
Author
Topic: XML wrong encoding (Read 8287 times)
Farhad Sakhaei
Elxis Community
Hero Member
Posts: 1190
I know nothing , Should know more & more
XML wrong encoding
«
on:
September 04, 2007, 11:02:36 »
why some xml encoding are not UTF-8
?
i checked them , they are :
banners.xml : iso-8859-1
contact.xml : iso-8859-1
contact_items.xml : iso-8859-1
login.xml : iso-8859-1
templateDetails.xml : iso-8859-1
i had a problem with some xml packages of facileforms , they were iso-8859-1 too and i had problems for persian ...
should we convert them to UTF-8 ?
Logged
DediData Web Hosting Services
Farhad Sakhaei
Elxis Community
Hero Member
Posts: 1190
I know nothing , Should know more & more
Re: XML wrong encoding
«
Reply #1 on:
September 04, 2007, 11:18:57 »
also i found another one :
mambots\content\geshi\geshi.php : line 392 : var $encoding = 'ISO-8859-1';
Logged
DediData Web Hosting Services
datahell
Elxis Team
Hero Member
Posts: 10356
Re: XML wrong encoding
«
Reply #2 on:
September 04, 2007, 12:02:33 »
By default all XML files have encoding utf-8. So, if you dont declare an encoding then is set to utf-8. The encoding in the XML installation file should be always set to utf-8 or dont set it at all. Some files are indeed have iso-8859-1, and this is from the "mambo days". We have already changed it to utf-8 in version 2008. But it does not affects Elxis even if you have it iso-8859-1. This encoding only affects your browser if you open XML directly with it. Elxis always sets encoding to utf-8 as it is the only valid encoding for Elxis.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Farhad Sakhaei
Elxis Community
Hero Member
Posts: 1190
I know nothing , Should know more & more
Re: XML wrong encoding
«
Reply #3 on:
September 04, 2007, 12:25:56 »
ok, i convert them to utf-8 ,
but i had problem with facileforms xml packages , so i changed them to utf-8 and my problem solved , but i have some problems in Rock'N'Roll dance contest registration sample of FacileForms
and also Rock'N'Roll dance contest partipicant list and Submit Content Preview
i mentioned them in this post :
https://forum.elxis.org/index.php?topic=199.msg7275#msg7275
the encoding of result is not correct encoding
Logged
DediData Web Hosting Services
datahell
Elxis Team
Hero Member
Posts: 10356
Re: XML wrong encoding
«
Reply #4 on:
September 04, 2007, 13:46:52 »
Sorry, I have n't checked Facile Forms for compatibility with Elxis. I have n't even ever use it so I can not tell about it.
About Geshi:
this is the declaration of the variable not it's running value. It's value should be updated to utf-8 after class initialization. But even if it is left as iso-8859-1 it does not affect formatted code as Geshi is a code highlighter (php, html, css etc) which is almost always written using latin-1 characters. To be sure I just modified Elxis 2008 source in order Geshi to have the utf-8 encoding by default.
«
Last Edit: September 04, 2007, 14:25:52 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Farhad Sakhaei
Elxis Community
Hero Member
Posts: 1190
I know nothing , Should know more & more
Re: XML wrong encoding
«
Reply #5 on:
September 04, 2007, 13:57:04 »
thank you ioannis
Logged
DediData Web Hosting Services
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Technical support
»
XML wrong encoding