Re: [PHP] Latin letter problem!

This is a discussion on Re: [PHP] Latin letter problem! within the PHP General forums, part of the PHP Programming Forums category; PS Mozilla-based browsers want your charset in the HTTP Content-type header IE and IE-knockoff browsers want your ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2007
Richard Lynch
 
Posts: n/a
Default Re: [PHP] Latin letter problem!

PS

Mozilla-based browsers want your charset in the HTTP Content-type header

IE and IE-knockoff browsers want your charset in the META tags.

You have to do *both* to get all browsers to play nicely.

Sorry.

On Tue, February 20, 2007 10:03 am, Delta Storm wrote:
> Hi,
>
> I'm building an simple CMS system. I have built almost everything but
> one thing buggs me...
>
> I have a MySQL database built for publishing news
> (Id,title,newsContent,timestamp).
>
> And I have a php web page that displays that content. The problem is
> with the charset, in the database the settings are following:
>
> character set latin2 collation latin2_croatian_ci;
>
> and in the tables character set utf8;
>
> I display the data in the php page using utf8 I see all the non-PHP
> content pure HTML content capable of seeing croatian letter
> čćžšđ, but
> in the news section I only see čćđ. But they are on the same page!
>
> I tried putting other HTML charsets like iso-8859-1,iso-8859-2 etc...
> But in all the scenarios I get the HTMl part working but PHP not
> working
> vice-versa...
>
>
> Please help me it is a very important web page if you need any other
> information just ask!
>
> Thank you very much in advance!
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:31 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0