Initialization of CurrencyString In sysutils has a bug
Original Reporter info from Mantis: zhouyong
-
Reporter name: 周勇
Original Reporter info from Mantis: zhouyong
- Reporter name: 周勇
Description:
source code(line no 688):
CurrencyString:=GetLocaleStr(LID, LOCALE_SCURRENCY, '');
"GetLocaleStr(LID, LOCALE_SCURRENCY, '');" return UTF16 string, so it's error when assigned to string. I'am chinese,CurrencyString must be '¥', but CurrencyString display '?'. If Source code change to " CurrencyString:=UTF16toUTF8(GetLocaleStr(LID, LOCALE_SCURRENCY, '')); " then CurrencyString is '¥'.
TDBEdit is not displayed correctly when 'FieldType' is currency;
Mantis conversion info:
- Mantis ID: 18193
- OS: windows7
- Platform: windows
- Fixed in revision: 49244 (#e31923c2)
- Monitored by: » 452 (Ihor Lavrynyuk)