Bug #2086

Mis à jour par Matthieu Decorde il y a plus de 8 ans

Source files encoded in Unicode can have a BOM (3 bytes).

Every Java and Groovy code should skip the BOM if needed.

h3. Solution

add the following code to all Java and Groovy code using FileReaders:
<pre>
input.skip(new DetectBOM(infile).getBOMSize())
</pre>

Already done for:
* AlcesteToXML script
* TXT2TRS script

Retour