Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Can not load vehicles with special characters in authors section #364
NothingToDo posted this in the RoR Skype group, I thought I'd post a bug report on it since I found the cause of it.
Using this vehicle: http://www.rigsofrods.com/repository/view/5548
Does not happen in 0.4.0.7.
referenced this issue
Aug 12, 2015
@hotrod55 The problem is RoR assumes truckfiles saved in UTF-8 encoding. This truck is either in https://en.wikipedia.org/wiki/Windows-1252 or https://en.wikipedia.org/wiki/ISO/IEC_8859-1, I can't tell exactly. I discovered it by saving file to disk, opening it in firefox and then switching [Display->character set->*] options until it matched. The working option was "Western languates" which means one of the above. There is no way to auto-detect it.
I'll figure something out tho.