Modify

Opened 17 years ago

Closed 17 years ago

#1010 closed Bug (Fixed)

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

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

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

Download all attachments as: .zip

Change History (5)

by y.forkl@…, 17 years ago

Attachment: fileread_bug1010.au3 added

reproduction script

by anonymous, 17 years ago

Attachment: BOM_error1.log added

data sample file 1

by y.forkl@…, 17 years ago

ZIP with Data sample files

comment:1 by y.forkl@…, 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 J-Paul Mesnage, 17 years ago

Milestone: 3.3.1.1
Owner: set to J-Paul Mesnage
Resolution: Fixed
Status: newclosed

Fixed in version: 3.3.1.1

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.