KCharsetConverter Class Reference

[Kangaroo Index] [Kangaroo Hierarchy] [Headers]


KDE charset support class More...

#include <kdeobjc/KCharsets.h>

Inherits: NSObject (GNUstepBase)

Public Members


Detailed Description

Class to convert character sets

This class implements converting strings between charsets and encodings.

Derived from the C++ header kcharsets.h by Jacek Konieczny


-initFromCharset:flags:

Initializer. Start conversion to displayable charset

Parameters:
inputCharset source charset
flags conversion flags.

-initFromCharset:outputCharset:flags:

Initializer. Start conversion between two charsets

Parameters:
inputCharset source charset
outputCharset destination charset
flags conversion flags. KCharsetConverter

-ok

Did initializer succeed.

Returns:
YES if conversion can be made, FALSE if wrong arguments were given to initializer

-convertFromString:

String conversion routine

Convert string between charsets

Parameters:
str string to convert
Returns:
converted string with charset info

-multipleConvert:

String conversion routine for multiple charsets

Convert string between charsets

Parameters:
str string to convert
Returns:
converted string divided into chunks of the same charsets

-outputCharset

Charset of converted strings

Returns:
charset of strings converted using convert const char *)

-convertFromCode:

Unicode to displayable character conversion

Currently works only for characters in output charset

Parameters:
code Unicode represantation of character

-convertTag:

Character tag to displayable character conversion

Useful for converting HTML entities, but not only Currently it works only for characters in output charset

Parameters:
tag character tag or whole amp-sequence

Documentation generated by duke@tipitina on Sat May 6 11:42:52 EDT 2000
Kdoc