Modify

Opened 16 years ago

Closed 16 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 by Jon, 16 years ago

Milestone: 3.3.3.3
Owner: set to Jon
Resolution: Fixed
Status: newclosed

Fixed by revision [5582] in version: 3.3.3.3

Modify Ticket

Action
as closed The owner will remain Jon.

Add Comment


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