#### PyKDE - Python Bindings for KDE

# class KCharsets

Table of contents
Modules
kdecore Classes
All Classes

Module | kdecore
Class | KCharsets
Inherits |

### methods

- KCharsets ()

  returns a KCharsets instance

- availableEncodingNames ()

  returns (QStringList)

- codecForName (name)

  returns (QTextCodec)

  Argument | Type | Default
  --- | --- | ---
  name | QString |

- codecForName (n)

  returns (QTextCodec) ok (bool)

  Argument | Type | Default
  --- | --- | ---
  n | QString |

- descriptiveEncodingNames ()

  returns (QStringList)

- encodingForName (descriptiveName)

  returns (QString)

  Argument | Type | Default
  --- | --- | ---
  descriptiveName | QString |

- encodingsForLanguage (a0)

  Not Implemented

- fromEntity (str)

  returns (QChar)

  Argument | Type | Default
  --- | --- | ---
  str | QString |

- fromEntity (str)

  returns (QChar) len (int)

  Argument | Type | Default
  --- | --- | ---
  str | QString |

- languageForEncoding (encoding)

  returns (QString)

  Argument | Type | Default
  --- | --- | ---
  encoding | QString |

- languages ()

  Not Implemented

- resolveEntities (text)

  returns (QString)
  In versions KDE 3.1.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  text | QString |

- toEntity (ch)

  returns (QString)

  Argument | Type | Default
  --- | --- | ---
  ch | QChar |