Opened 17 years ago
Closed 17 years ago
#1010 closed Bug (Fixed)
FileRead UTF-8 auto-detection prevents reading of further files
| Reported by: | Owned by: | J-Paul Mesnage | |
|---|---|---|---|
| Milestone: | 3.3.1.1 | Component: | AutoIt |
| Version: | 3.3.0.0 | Severity: | None |
| Keywords: | FileRead, UTF-8, Unicode, BOM | Cc: |
Description
If a series of UTF-8 BOM-equipped files is read and their contents are appended to a string, FileRead will stop appending further files' contents as soon as it encounters any 8-bit character in one of the files, but only if trying to auto-detect the encoding. See attached script and sample files to reproduce the problem.
Bug #454 is somehow related, however despite it being fixed the problem persists, so it should perhaps receive a ticket of its own.
Attachments (3)
Change History (5)
by , 17 years ago
| Attachment: | fileread_bug1010.au3 added |
|---|
comment:1 by , 17 years ago
Please ignore (or delete, if you can) attachment BOM_error1.log. I had to upload all 6 data files in the ZIP archive fileread_bug1010_data_files.zip. Its content should be extracted into the script's directory.
comment:2 by , 17 years ago
| Milestone: | → 3.3.1.1 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed in version: 3.3.1.1

reproduction script