RE: [PHP-I18N] Problem with special chars.
| From: | Tex Texin | Date: | Fri, 14 Oct 2005 10:38:13 +0000 |
| Subject: | RE: [PHP-I18N] Problem with special chars. | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-882@lists.php.net to get a copy of this message | ||
Why are you specifying HTML-ENTITIES, if you don't want them?
> -----Original Message-----
> From: Erfan Shirazi [mailto:eshirazi@shipco.com]
> Sent: Friday, October 14, 2005 3:05 AM
> To: php-i18n@lists.php.net
> Subject: [PHP-I18N] Problem with special chars.
>
>
> 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
>
> --
> PHP Internationalization Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>