Opened 15 years ago

Closed 15 years ago

#1010 closed Bug (Fixed)

FileRead UTF-8 auto-detection prevents reading of further files

Reported by: y.forkl@… Owned by: Jpm
Milestone: Component: AutoIt
Version: Severity: None
Keywords: FileRead, UTF-8, Unicode, BOM Cc:


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)

fileread_bug1010.au3 (2.6 KB) - added by y.forkl@… 15 years ago.
reproduction script
BOM_error1.log (11 bytes) - added by anonymous 15 years ago.
data sample file 1 (1.4 KB) - added by y.forkl@… 15 years ago.
ZIP with Data sample files

Download all attachments as: .zip

Change History (5)

Changed 15 years ago by y.forkl@…

reproduction script

Changed 15 years ago by anonymous

data sample file 1

Changed 15 years ago by y.forkl@…

ZIP with Data sample files

comment:1 Changed 15 years ago by y.forkl@…

Please ignore (or delete, if you can) attachment BOM_error1.log. I had to upload all 6 data files in the ZIP archive Its content should be extracted into the script's directory.

comment:2 Changed 15 years ago by Jpm

  • Milestone set to
  • Owner set to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in version:

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Jpm.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.