You are here: Problem with special chars. « PHP « IT news, forums, messages
Problem with special chars.

Posted by Erfan Shirazi on 10/14/05 13:00

Hi all


I have some problems when I make a string containing the following
"Malmö, Asunción" to capital letters and then save it to a file.

I use the following to make it to capital letters:
$msg = mb_strtoupper($msg, "HTML-ENTITIES");

And this works just fine, everything looks as it should, but when I save
it to a file, this is how it looks:
"MALMÖ, ASUNCIÓN

It seems it has problems with "ó" and "Ö", does anybody know how this
can be solved? I have tried some different encodings but nothing helps,
I'm using PHP 4.3.2.

Thx in advance for all help.

/Erfan

 

Navigation:

[Reply to this 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

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