Sign in Join
FPDoc Onlineexperiment

UTF8ToWinCP function

In unit LazUTF8

Converts the UTF-8-encoded string to the Windows code page encoding.

Declaration

pascal
function UTF8ToWinCP(const s: string): string

Description

Converts the UTF-8-encoded string to the Windows code page encoding Used by Write and WriteLn.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.