List Info

Thread: problems with latin chars




problems with latin chars
user name
2006-11-16 10:33:59
I have a problem with the rendering of latin chars.

I have a page where all files are saved in UTF-8 but
sometimes when i
reload the page it happens that some characters are not
rendered
corectly. Instead of č i got ? for example.

The interesting faxt is that it doesnt happen every refresh
but it
hapens randomly. For example 30 refreshes is ok then wrong
or 20
refreshes ok then wrong, or 2 refreshes ok then erong ....

I have a charset of the page set as :

<meta http-equiv="content-type"
content="text/html; charset=UTF-8" />

the contetn from the base is rendered ok, only some static
links thet
are hard coded in the file are deiplayed wrong.

for exemple :

echo '<a href="?vie=cnt&str=eml">naroči
se na sporočila</a><br />';

this is the hard coded link that is rendered wrong....the
"naroči se
na sporočila" is displayed as "naro?i se na
sporo?ila"

it's the most strange bug i've ever seen

please help me 


--~--~---------~--~----~------------~-------~--~----~
This group is managed and maintained by the development
staff at 360 PSG. An enterprise application development
company utilizing open-source technologies for todays
small-to-medium size businesses.

For information or project assistance please visit :
http://www.360psg.com

You received this message because you are subscribed to the
Google Groups "Professional PHP Developers"
group.
To post to this group, send email to Professional-PHPgooglegroups.com
To unsubscribe from this group, send email to
Professional-PHP-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---

problems with latin chars
user name
2006-11-16 10:42:43
sounds like a browser issue
are you using xhtml/strict (content-type meta tag isnt
honoured in this
case only headers)

header( 'Content-Type: text/html; charset=utf-8' );

an interesting specimen you have there


--~--~---------~--~----~------------~-------~--~----~
This group is managed and maintained by the development
staff at 360 PSG. An enterprise application development
company utilizing open-source technologies for todays
small-to-medium size businesses.

For information or project assistance please visit :
http://www.360psg.com

You received this message because you are subscribed to the
Google Groups "Professional PHP Developers" group.
To post to this group, send email to Professional-PHPgooglegroups.com
To unsubscribe from this group, send email to
Professional-PHP-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---

problems with latin chars
user name
2006-11-16 13:53:44

shimmyshack je napisal:
> sounds like a browser issue
> are you using xhtml/strict (content-type meta tag isnt
honoured in this
> case only headers)
>
> header( 'Content-Type: text/html; charset=utf-8' );
>
> an interesting specimen you have there

i'm using

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">

docktype

the top of html file looks like this :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>

looks like your suggestion solved this problem 

tnx
	<meta http-equiv="content-type"
content="text/html; charset=UTF-8" />


--~--~---------~--~----~------------~-------~--~----~
This group is managed and maintained by the development
staff at 360 PSG. An enterprise application development
company utilizing open-source technologies for todays
small-to-medium size businesses.

For information or project assistance please visit :
http://www.360psg.com

You received this message because you are subscribed to the
Google Groups "Professional PHP Developers" group.
To post to this group, send email to Professional-PHPgooglegroups.com
To unsubscribe from this group, send email to
Professional-PHP-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )