PDA

View Full Version : Problem with some characters



welko
04-01-2008, 02:40 PM
i have a problem with some characters, ñ,º,¿ etc. i think that the solution will be UTF8 but i don´t know how to put <meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"> into script, what's the solution?

*i'm spanish sorry :(

Patrick
04-04-2008, 11:51 PM
Just add in the meta tag to your own web page in your web page's header.

Such as:



<html>
<head>
<title>Whatever your webpage's title is</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>

welko
04-05-2008, 10:17 AM
Just add in the meta tag to your own web page in your web page's header.

Such as:



<html>
<head>
<title>Whatever your webpage's title is</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>



it doesn't work, http://www.eresmaster.es/noticias.php with <meta http-equiv="content-type" content="text/html; charset=utf-8">

and www.eresmaster.es/index.php contains the same meta and the rest of web page work but the news don't work

Patrick
04-05-2008, 11:26 AM
I will trace the post's code. Please note that the script was never written with UTF-8 in mind and as such there are likely certain functions being called which are corrupting things.

I will let you know of any modifications that you need to make.

Patrick
04-05-2008, 09:03 PM
Well here is a start. There are quite likely other functions that could be messing with things depending on the forum class that you are using. However, this is a good start:

replace EP_Dev_Forum_News/classes/display.php and EP_Dev_Forum_News/classes/access/mysql.php with the files that I have attached below.

welko
04-06-2008, 05:30 AM
yeah, it works thanks patiek :D