pkCEStuff
Content
Index
Previous (pkMiniGUI)
Next (pkWinINet)

Unit
  pkStrings

Description
  Definition of wide and ansi string types for cross-platform apps

Todo
  Do real UTF-16 -> UTF-8 conversions

Author
 

Patrick Michael Kolla


Version
 

2006/06/28 Added documentation


Types
 
Type Description
PStringsChar A null-terminated string, Ansi or Unicode based on Operating System
StringsString A standard string, Ansi or Unicode based on Operating System

Functions
 
Function Description
ReadTwoByteFileToStringList Very ugly way to read Unicode text files with BOM into pure ansi strings.
SeparatedStringToStringList Separate a string by cutting it at a given character
StreamReadUTF16FileToStrings Loads an UTF-16 file into a stringlist containing only ANSI characters.
StringIsHexString Checks whether the string only contains character valid for hex strings; aka
StringListToSeparatedString Separate a string list with a given separator char without the quote
StringSeemsValidString Checks whether the string seems to be plain text, or contains special
TryPossibleUnicodeStringToAnsiStringSimple Attempts to convert a string containing Unicode into a readable ANSI string.

Links
  #UnderConstruction#

pkCEStuff
Content
Index
Previous (pkMiniGUI)
Next (pkWinINet)


Created with DelphiCodeToDoc. To obtain the latest revision, please see http://dephicodetodoc.sourceforge.net/
Under GNU GPL licence. Copyright (c) 2003 - TridenT.