 |
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: Fri Dec 28, 2007 8:24 am
[2.18] Bugs using %proper() with numbers or symbols |
#say %proper("a")
outputs 'A' as expected
If you try %proper(0) or %proper("0") then it displays a strange character
Same with most numbers actually, and symbols too.
Problem seems to be that %proper is trying to just use the ascii value of a character to turn anything into it's uppercase value
see using
#say %ascii("a"), %ascii(%proper("a"))
#say %ascii("0"), %ascii(%proper("0"))
#say %ascii("-"), %ascii(%proper("-"))
The uppercase of 0 or - should not be 33 ascii characters below their lowercase equivs
Worth noting that the problem doesn't occur with %upper |
|
_________________ CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;) |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jan 07, 2008 11:45 pm |
Added to bug list.
|
|
|
|
 |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|