Interesting Issue with strtoupper()

From: Date: Mon, 07 Apr 2003 12:25:15 +0000
Subject: Interesting Issue with strtoupper()
Groups: php.internals 
Request: Send a blank email to internals+get-754@lists.php.net to get a copy of this message
The following is an error that one of the guys at my office found today. This is the code snippet that generated the problem... echo ("btnText:$btnText<BR>"); $text = strtoupper(xlat($btnText)); echo ("text:$text<BR>"); ... where the value of xlat($btnText) is "Nästa". It appears that strtoupper() will sometimes produce "NäSTA" and sometimes the "a" will be correctly uppercased. Timothy Hitchens (HiTCHO) Web Application Consulting e-mail: tim@hitcho.com.au mobile: 0419 521 440 ------------------------------------------------- HiTCHO Group - ABN: 85 816 540 110 web site: http://www.hitcho.com.au/ snail mail: PO Box 101 Arana Hills QLD 4054 telephone: 07 3351 0951 - facsimile: 07 3351 0952 -------------------------------------------------

« previous php.internals (#754) next »