CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Characters Codifications

Print topic Send  topic

Author Message
CodeChargeMVP

Posts: 473
Posted: 06/23/2010, 7:42 AM

Hello,

Here´s a new big issue:

I´m developing a project for an spanish customer and obviously with an spanish database,

which means database has words like "administración" or "peñon".

I want than the customer be able to write this kind of words on software application and get

recorded and showed in the right way,of course i want than the words when be retrieved from

the database also be shown correctly.

So,

If you have any suggestion for the next configurations would be very handly:

Server/Script->Charset & Encode Extension (if necessary)

Project Settings->Locale & Encodings -> File Encoding & Default HTML Encodings.

Site Locales.

Note:I´ll also write notes in spanish language on the php code

Thank you very much in advance.




_________________
Best Regards
Entrepeneur | NT Consultant
View profile  Send private message
CodeChargeMVP

Posts: 473
Posted: 06/24/2010, 12:47 AM

Here I come with some new info:

There two codifications than has been created by resolving this

matters:

ISO-8859-1
UTF-8

The most important thing to everything work perfectly is than the pages than you create on codecharge has the html met tag:

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">

placed at the top of the html page, on that meta tag you select the charset codification,this charset codification has to match with the one selected on project settings->Server/Script->Charset, if both doesn´t match you´ll get a warning message when publishing every single page.

So now, the question ¿ Which codification may I Choose?

ISO-8859-1 or UTF-8

To answer this question we´ve to make another one first,

¿What will happen with javascript dependant listboxes?

As far as i know, this is mandatory, AJAX always work with UTF-8,

Post method send it by UTF-8.

Get method is codificated by ISO-8859-1 on Mozilla and UTF-8 on IE.


Obviously seems than the decision it´s quite easy,but unfournately UTF-8 doesn´t work

fine on codecharge,so i had to settled up all to ISO-8859-1 and i guess than will get some

troubles when running the software on IE.


Quote CodeChargeMVP:
Hello,

Here´s a new big issue:

I´m developing a project for an spanish customer and obviously with an spanish database,

which means database has words like "administración" or "peñon".

I want than the customer be able to write this kind of words on software application and get

recorded and showed in the right way,of course i want than the words when be retrieved from

the database also be shown correctly.

So,

If you have any suggestion for the next configurations would be very handly:

Server/Script->Charset & Encode Extension (if necessary)

Project Settings->Locale & Encodings -> File Encoding & Default HTML Encodings.

Site Locales.

Note:I´ll also write notes in spanish language on the php code

Thank you very much in advance.





_________________
Best Regards
Entrepeneur | NT Consultant
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.