Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 07/19/2012
Components: File Management
Versions: 10.0
Failure Type: Data Corruption
Found In Build/Fixed In Build: Final / 287512
Priority/Frequency: Major / Very few users will encounter
Locale/System: English / Win All
Vote Count: 0
Problem Description:
getProfileString() is not UTF-8-aware
Steps to Reproduce:
<!--- test.cfm --->
<cfoutput>#getProfileString(expandPath("./russian.ini"), "keys", "key1")#</cfoutput>
# russian.ini
[keys]
key1=???????? MSF ? ???????? ??????????? ????????
key2=????????? ??????? ??????????????? ????????????-??????????? ??????????? ??????? ???????????????? ??????? ??? ?????????????? ??????????? ???????
key3=???????????? ????? ?? ???? ?????: ? ?????? ??????? ??? ? ???????????? ?????? ????????? ???????
key4=????? ???????? ???????? ? ????????????? ?????? ????? ?????????? ??-?? ????????? ?????????? ????? ?? ? ??????
key5=?????: ???????? ??? ?????? ?????????????
key6=?????: ?????? ???????????? ?????? ? ?? ???????? ??????????? ??????
key7=??????????? «????? ??? ??????» ???????? ? ??????? ????????? ? ????? ? ????????? ???? ??????????? ? ????????, ??????.
Actual Result:
gibberish
Expected Result:
Russian
Any Workarounds:
Write yer own function. Not really a work around
--
Adam
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3291872
Deployment Phase: Release Candidate
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: Fails on everything from CF8->CF10.
Attachments:
Comments: