diff options
author | Haru <haru@dotalux.com> | 2014-04-02 21:01:44 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-04-02 21:07:14 +0200 |
commit | 694d32a550e8841a6ed6c237880e3d5005e6208d (patch) | |
tree | 3e76339b65990210e28286c23c4bed08956f3082 /src/map/script.c | |
parent | 34658a75ffeced4d9ed75a6e0b4ae015c1b7c6de (diff) | |
download | hercules-694d32a550e8841a6ed6c237880e3d5005e6208d.tar.gz hercules-694d32a550e8841a6ed6c237880e3d5005e6208d.tar.bz2 hercules-694d32a550e8841a6ed6c237880e3d5005e6208d.tar.xz hercules-694d32a550e8841a6ed6c237880e3d5005e6208d.zip |
Added UTF-8 BOM detection
- This prevents things like the following from happening, by warning the
user if an incompatible file is loaded:
http://hercules.ws/board/topic/5126-mapname-selft-announcer/?p=33068
- We're erroring out instead of ignoring it, as explained in the source
comment.
- Special thanks to jaBote.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.c')
0 files changed, 0 insertions, 0 deletions