Re: Bug #2102 Updated: strtoupper dont convert é to É and other
| From: | Sascha Schumann | Date: | Sat, 21 Aug 1999 23:15:00 +0000 |
| Subject: | Re: Bug #2102 Updated: strtoupper dont convert é to É and other | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-10070@lists.php.net to get a copy of this message | ||
On Sat, Aug 21, 1999 at 05:04:53PM +0000, Manuel Lemos wrote:
> Hello Bug,
>
> On 21-Aug-99 09:47:04, you wrote:
>
> >ID: 2102
> >Updated by: sas
> >Reported By: dm@dmh.cc
> >Status: Closed
> >Bug Type: Misbehaving function
> >Assigned To:
> >Comments:
>
> >Did you use setlocale()? strtoupper should work correctly, if your C library
> >supports internationalization.Try to call
>
> >setlocale(LC_CTYPE, "fr_FR");
>
> >before you use strtoupper().
>
> It is hopeless to expect that to work in all machines you may try because
> that locale may not be supported at all.
Locale names are standardized, so they should work on systems
which follow the standard.
That is probably not true for all machines in existence, of
course.
--
Regards,
Sascha Schumann
Consultant