After over an hour of debugging 10 lines of code today I came to the conclusion that there is a difference between the implementation of strlen() in C on Windows using the compiler shipped with Visual Studio and GCC on Linux resulting in different return values because some characters are included and others are not.
Over. An. Hour.
Can’t they get anything right?