FS#278ECMAScript: all scripts should be read as UTF-8
- Type
- Bug
- Status
- Closed
- Resolution
- Fixed
- Category
- QCAD (main)
- Severity
- Low
- Priority
- Low
- Reported version
- 3 Beta 2
- Operating system
- All
- Reported
- 2011-09-28 by andrew
- Closed
- 2011-09-29 by andrew
Scripts that are included through the ECMAScript include function are read with a default constructed QTextStream. UTF-8 should be forced.
Comments (2)
The heuristics that QTextStream applies can be helped with the so-called BOM, else it might miss guess some files. If UTF-8 is forced by QCAD, this should be documented in the book/manual.
Yes.