Project

General

Profile

Actions

Bug #5646

closed

$ini() returns nothing when reading UTF-8 BOM file

Added by westor (GR) about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
10/24/2022
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
Yes

Description

Hello,

I updated to the latest beta and seems $ini() doesn't work if the INI file contains the following data and is formatted under UTF-8 BOM, but it works under normal UTF-8 format.

//echo -a IS: $ini(test.ini,First)
[First]
1=test1
2=test2
3=test3

[Second]
1=test1
2=test2
3=test3

NOTE: Just in case you are not be able to reproduce it i have submit a file that i am able to reproduce here when using $ini(test_file.ini,English)

- Thanks!


Files

test_file.ini (10.7 KB) test_file.ini westor (GR), 10/24/2022 09:38 PM
Actions #1

Updated by Per Amundsen about 1 month ago

  • Status changed from New to Resolved
  • Regression changed from No to Yes
Actions #2

Updated by Per Amundsen about 1 month ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF