Modify

Opened 15 years ago

Closed 15 years ago

#1403 closed Bug (Fixed)

File write unicode text with bom error

Reported by: anonymous Owned by: Jon
Milestone: 3.3.3.3 Component: AutoIt
Version: 3.3.3.2 Severity: None
Keywords: Cc:

Description

$x=FileOpen("x.txt",2+128)		;have bom error
FileWriteLine($x,"我是中国人")
FileClose($x)
$x=FileOpen("y.txt",2+256)		;no bom right
FileWriteLine($x,"我是中国人")
FileClose($x)

x.txt :
�������
00000000h: EF BB BF CF 92 CB 87 D7 90 C2 B9 EF BF BD ; 锘肯捤囎惵癸拷

y.txt :
我是中国人
00000000h: CE D2 CA C7 D6 D0 B9 FA C8 CB 0D 0A ; 我是中国人..

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by Jon

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

Fixed by revision [5582] in version: 3.3.3.3

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 Jon.
Author


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

 
Note: See TracTickets for help on using tickets.