pioneerspacesim/pioneer — pull request #1661 by johnbartholomew (2012-11-02 03:16:58+00:00)
Title: Silently ignore UTF-8 Byte Order Marks

Windows text editors like to add a byte order mark when they save UTF-8 files (to make it easier for them to recognise the encoding when the file is re-opened). This has caused problems for us in some places in the past. This patch silently strips BOMs from data/lang files, Lua scripts, .ini files and GLSL shaders.