[Overview][Types][Procedures and functions][Variables][Index] Reference for unit 'LazUTF8' (#lazutils)

Reference for unit 'LazUTF8': Procedures and functions

CompareStrListUTF8LowerCase

ConsoleToUTF8

ConvertUTF16ToUTF8

  

ConvertUTF8ToUTF16

  

FindInvalidUTF8Character

  

Returns -1 if ok, otherwise byte index of invalid UTF8 codepoint

FindInvalidUTF8Codepoint

GetEnvironmentStringUTF8

  

Returns a system environment string.

GetEnvironmentVariableCountUTF8

  

Returns the number of system environment variables.

GetEnvironmentVariableUTF8

  

Returns the value of a system environment variable.

LazGetLanguageIDs

  

LazGetShortLanguageID

  

NeedRTLAnsi

  

ParamStrUTF8

ReplaceSubstring

SetNeedRTLAnsi

  

SysErrorMessageUTF8

SysToUTF8

  

UnicodeToUTF8

  

Encodes the given code point as an UTF-8 sequence of 1 to 4 bytes.

UnicodeToUTF8Inline

UnicodeToUTF8SkipErrors

  

Simple and fast function to write a single unicode codepoint as UTF-8 to Buf and returns the number of bytes written

UTF16ToUTF8

  

UTF8AddChar

UTF8AddCharR

UTF8CharacterLength

  

Returns the number of bytes of the codepoint starting at p

UTF8CharacterStrictLength

  

For a valid UTF-8 character it returns the length in bytes (1..4). Otherwise 0.

UTF8CharacterToUnicode

  

Returns the codepoint at p and the number of bytes to skip.

UTF8CharStart

  

UTF8CharToByteIndex

  

UTF8CodepointSize

UTF8CodepointSizeFast

UTF8CodepointStart

UTF8CodepointStrictSize

UTF8CodepointToByteIndex

UTF8CodepointToUnicode

UTF8CompareStr

  

UTF8CompareStrCollated

  

Compare two strings using language specific sorting

UTF8CompareStrP

UTF8CompareText

  

UTF8Copy

  

UTF8CStringToUTF8String

  

UTF8Delete

  

UTF8EndsText

Utf8EscapeControlChars

UTF8FindNearestCharStart

  

UTF8FixBroken

  

Replaces all invalid UTF8 characters with spaces. Stops at #0.

UTF8Insert

  

UTF8LeftStr

UTF8Length

  

UTF8LengthFast

UTF8LowerCase

  

UTF8LowerString

UTF8PadCenter

UTF8PadLeft

UTF8PadRight

UTF8Pos

  

Returns the character index, where the SearchForText starts in SearchInText

UTF8PosP

  

Returns the position where SearchInText starts in SearchForText

UTF8ProperCase

UTF8QuotedStr

UTF8ReverseString

UTF8RightStr

UTF8RPos

UTF8StartsText

UTF8StringOfChar

UTF8StringReplace

UTF8SwapCase

UTF8ToConsole

UTF8ToDoubleByte

  

UTF8ToDoubleByteString

  

UTF8ToSys

  

UTF8ToUTF16

  

UTF8ToWinCP

UTF8Trim

  

Removes space at start and end

Utf8TryFindCodepointStart

UTF8UpperCase

  

UTF8UpperString

UTF8WrapText

WinCPToUTF8

The latest version of this document can be found at lazarus-ccr.sourceforge.net.