I couldn't debug the code because of my name
mikolaj-kaminski.com
I couldn't debug the code because of my name
1–10 of 300 posts
Re: I couldn't debug the code because of my name
#2It's somewhat common to see videogames issue a patch shortly after release where they fix crashes due to non-ASCII Windows usernames or non-English locales. I'm not sure what the root cause of the confusion is, other than text strings being hard in general.
Re: I couldn't debug the code because of my name
#3Idk changing your stupid fucking name could be a fix too
Re: I couldn't debug the code because of my name
#4Isn't this one of those "100 things Programmers don't know about People's Names" things?
Like the poor, it will be with us always.
Re: I couldn't debug the code because of my name
#5I think the whole problem is keeping the character encoding consistent in the applications and their dependencies. Programmers often forget this because they avoid non-ASCII characters in their code.
Re: I couldn't debug the code because of my name
#6What’s wrong with just writing it as Mikolaj? It’s not like it’s a kanji or something.
Re: I couldn't debug the code because of my name
#7Isn't this one of those "100 things Programmers don't know about People's Names" things? Like the poor, it will be with us always.
I don't know, it's just a Unicode character? Not even a newer one, it's just 2 utf8 bytes. Pretty much everything should support that in 2021.
When I think of 100 things I think of stuff like "some people spell their name in all lowercase and get really funny if you change it"
Re: I couldn't debug the code because of my name
#8And yet it's one of the simplest things to add non-ASCII chars to your tests to validate their handling.
It's like not testing if your calculate application can handle negative numbers or decimals.
Re: I couldn't debug the code because of my name
#9Using non-ascii characters in file paths, toolchain config files, and other non-display contexts is just asking for trouble, even if it is your name...
Re: I couldn't debug the code because of my name
#10That's a pretty common problem, especially for cyrillic names. People just use ASCII names.