Reply to Re: How to print a scandanavian character?

Your name:

Reply:


Posted by J.O. Aho on 07/18/07 17:36

laredotornado@zipmail.com wrote:

> I'm using php 4.4.4 with MySQL 5.0. A VARCHAR column in a db table
> contains the character "Ø" (o with a front slash through it).
> However, when I try and print it out to my browser, all I see is the
> character "?" (diamond with a question mark in it). Is there a PHP
> setting that will allow me to print out a broader character set?

Check what character setup the database uses and then you add a meta tag to
your html page that tells the web browser to select the right character setup.

Assume your table uses iso-8859-1, then add the following meta tag

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">

--

//Aho

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация