LazUTF8.pas WinCE bug + fix
Original Reporter info from Mantis: vincococka2
-
Reporter name: Jan Sebosik
Original Reporter info from Mantis: vincococka2
- Reporter name: Jan Sebosik
Description:
Hi,
functions WinCPToUTF8 and UTF8ToWinCP have to be IFDEF'ed for WinCE platform, because when they`re not compiler throws error that forward declaration is missing..
{$IFNDEF WINCE}
// for all Windows supporting 8bit codepages (e.g. not WinCE)
// converts string in Windows code page to UTF8 (used with some Windows specific functions)
function WinCPToUTF8(const s: string): string;
// converts UTF8 string to Windows code page encoding (used by Write, WriteLn)
function UTF8ToWinCP(const s: string): string;
{$ENDIF}
Mantis conversion info:
- Mantis ID: 29249
- Build: trunk
- Version: 2.3 (SVN)
- Fixed in revision: r51026 (#39da734b)
- Target version: 1.6