xHarbour Reference Documentation > Function Reference |
Inserts HTML character entities into an OEM text string.
OemToHtml( <cOemString> ) --> cHtmlString
The function returns a HTML formatted text string.
Function OemToHtml() inserts HTML character entities into <cOemString> and returns the HTML formatted text string. Note that the function processes only HTML character entities (e.g. >, < or &) that are interchangeable in the OEM and ANSI character sets. Refer to AnsiToHtml() for a complete list of HTML character entities recognized by the function.
See also: | AnsiToHtml(), HtmlToAnsi(), HtmlToOem(), THtmlDocument() |
Category: | Conversion functions , HTML functions , xHarbour extensions |
Source: | tip\thtml.prg |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
// The example shows a result of OemToHtml() PROCEDURE Main LOCAL cText := 'Copyright © 2007 xHarbour Inc' ? OemToHtml( cText ) // result: Copyright © 2007 xHarbour Inc RETURN
http://www.xHarbour.com