Modify

Opened 10 years ago

Closed 10 years ago

#1010 closed Bug (Fixed)

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

Reported by: y.forkl@… 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)

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

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by y.forkl@…

reproduction script

Changed 10 years ago by anonymous

data sample file 1

Changed 10 years ago by y.forkl@…

ZIP with Data sample files

comment:1 Changed 10 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 fileread_bug1010_data_files.zip. Its content should be extracted into the script's directory.

comment:2 Changed 10 years ago by Jpm

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

Fixed in version: 3.3.1.1

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

Action
as closed The owner will remain Jpm.
Author


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

 
Note: See TracTickets for help on using tickets.