Modify

Opened 9 years ago

Closed 9 years ago

#3542 closed Bug (No Bug)

IniReadSectionNames string truncated

Reported by: rootx Owned by:
Milestone: Component: AutoIt
Version: 3.3.14.2 Severity: None
Keywords: Cc:

Description

[I:\aaa\cc\aa vv vv vv (dd).txt]
name=aa vv vv vv (dd).txt
[I:\ffff\ffff\ffff ffff ffff ffff  [ffff]\ffff\ffff.txt]
name=ffff.txt

$ini = IniReadSectionNames(@ScriptDir&"\my.ini")
_ArrayDisplay($ini)
for $x = 1 to UBound($ini)-1
ConsoleWrite($ini[$x]&@CRLF)
Next

Attachments (0)

Change History (1)

comment:1 by Melba23, 9 years ago

Resolution: No Bug
Status: newclosed

No bug - the ini standard uses [ ] to define a section name, so having additional characters of that type is not permitted.

You will have to modify any ini file that uses additional such characters to escape them - I have showed how in this thread:
https://www.autoitscript.com/forum/topic/187778-inireadsectionnames-problem-solved/

M23

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


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