Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's why, for example, .NET world has .ToLowerInvariant() and .ToUpperInvariant() and developers are advised to use it when doing internal stuff. Interpreting / parsing a language is clearly an internal task and shouldn't be affected by locale changes.


Yep. .NET also has a nice set of string comparison classes for dictionary lookups to avoid exactly this kind of thing.


Unfortunately you can't compare .NET to PHP. Ever.


They just did.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: