Game Development Community

[Beta 4 Bug] Uppercase Letters Getting Changed to Lowercase

by Ryan Mounts · in Torque 3D Professional · 07/24/2009 (3:27 pm) · 2 replies

I'm still seeing certain strings that are getting "converted" to all lowercase, much like I mentioned back in Beta 2 (www.garagegames.com/community/forums/viewthread/92987). That thread discussed the text field in the GuiWindowCtrl... that issue has been fixed. But now I've seen the problem pop up again in a different context, but the behavior seems the same. I noticed it while using the 'getDirectoryList()' function. If the directory contains folders with names containing capital letters, some of those letters, like 'T', will be converted to lowercase.

For example, listing the folders in a directory that has two folders, "Tile" and "Wood", will get reported by 'getDirectoryList()' as "tile" and "Wood".

#1
07/27/2009 (3:20 pm)
Logged as THREED-598
#2
07/27/2009 (6:21 pm)

Same thing, it's the string table interning. However, in this case, I'm cautious changing behavior because this pertains to filesystem code and filenames are considered case-insensitive within Torque.

Have to look into this some more. This may break code.