Format '%'s returns blank when string has a codepage of CP_NONE
Original Reporter info from Mantis: TWhyman
-
Reporter name: Tony Whyman
Original Reporter info from Mantis: TWhyman
- Reporter name: Tony Whyman
Description:
This is simple enough and demonstrated in the attached. If you pass a string with a code page of CP_NONE to the format command for a placeholder '%s' you get a blank result regardless of what the string contains. This only occurs under Windows. Under Linux, you always get the correct result.
Steps to reproduce:
As above
Additional information:
Probably a variation of http://bugs.freepascal.org/view.php?id=30622
Mantis conversion info:
- Mantis ID: 31200
- OS: Windows
- OS Build: 7
- Platform: AND64
- Version: 3.0.0
- Monitored by: » pda (Dmitriy Pomerantsev)