Bug #2086
RCP: X.X, manage BOM
Status: | New | Start date: | 03/28/2017 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | - | % Done: | 0% |
|
Category: | Import | Spent time: | - | |
Target version: | TXM 0.8.4 |
Description
Source files encoded in Unicode can have a BOM (3 bytes).
Every Java and Groovy code should skip the BOM if needed.
Solution¶
add the following code to all Java and Groovy code using FileReaders:
input.skip(new DetectBOM(infile).getBOMSize())Already done for:
- AlcesteToXML script
- TXT2TRS script
History
#1 Updated by Matthieu Decorde over 6 years ago
- Description updated (diff)
#2 Updated by Sebastien Jacquot about 5 years ago
- Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0
#3 Updated by Matthieu Decorde over 4 years ago
- Target version changed from TXM 0.8.0 to TXM 0.8.2
#4 Updated by Matthieu Decorde over 2 years ago
- Priority changed from Urgent to High
- Target version changed from TXM 0.8.2 to TXM 0.8.4
reducing priority: no complains since 2017