Opened on Jun 5, 2009 at 2:12:08 PM
Closed on Jun 8, 2009 at 6:01:42 PM
#1010 closed Bug (Fixed)
FileRead UTF-8 auto-detection prevents reading of further files
| Reported by: | Owned by: | Jpm | |
|---|---|---|---|
| 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 , on Jun 5, 2009 at 2:13:43 PM
| Attachment: | fileread_bug1010.au3 added |
|---|
by , on Jun 5, 2009 at 4:06:57 PM
| Attachment: | fileread_bug1010_data_files.zip added |
|---|
ZIP with Data sample files
comment:1 by , on Jun 5, 2009 at 4:09:19 PM
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 , on Jun 8, 2009 at 6:01:42 PM
| Milestone: | → 3.3.1.1 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed in version: 3.3.1.1

reproduction script