[PHP-DEV] Re: #19257 [Bgs]: strtolower strtoupper does not work for UTF-8 strings

2002-09-25 Thread Stig Venaas
On Fri, Sep 13, 2002 at 11:55:50AM +0100, Wez Furlong wrote: Where mapping is one of upper, lower or title (since unicode knows about title case). This function would then be able to internally convert to unicode, apply the appropriate transformation and then convert back to the original

[PHP-DEV] Re: #19257 [Bgs]: strtolower strtoupper does not work for UTF-8 strings

2002-09-13 Thread Wez Furlong
Hey Stig, The person behind that report suggested that towupper and towlower could be used, although we would need to convert our PHP string to wide chars first. This is problematic since we don't know (without being told) which encoding the string is using in the first place. And even if we do