php - Advice Build Web Sites using ISO-8859-1 or UTF-8 -
I have to make a decision about making a Web site in Spanish, and many databases have many examples and examples Special characters such as â € ±, when I show the data in the scene, then it is "Infoso ?? ¡t tika, Producea? Â ³ n, Organizaci? Â ³ n, dca? Â ± ador web, ma ?? Todos "e.t.c. In this way, I am using JSP & amp; Servlets, MySQL, phpMyAdmin are under Fedora 20 and that I have added it to the html file:
And in Apache, I change the default charset:
# AdWare Charges UTF-8 AddDefaultCharset ISO-885 9-1 But in the browser, the data continues to look like this: "Informo ?? a technica, producci ?? ANN, Analysta de Organizio ?? a MNA? A tudos", so I do not know what to do, And I'm searching all day to complete the websites using UTF-8, but every day If you do not want to change the characteristics and special characters, any advice guys?
Encoding errors that appear in your text (e.g., one ?? one << / code > Instead of á ) indicates that your app is trying to output UTF-8 text, but your page is incorrectly encoding text as ISO-8859-1 Are specified. Specify the UTF-8 encoding headers in your content-type. Do not use ISO-8859-1.
Comments
Post a Comment