View on GitHub


libcangjie is a very simple library:

These pages will document proper use of libcangjie. Although the interesting part is the last of the list, we recommend you read them in order:

  1. the possible error codes
  2. the supported Cangjie versions
  3. the available output filters
  4. the CangjieChar structure
  5. the CangjieCharList character lists
  6. the Cangjie context

libcangjie also comes with a command-line tool, which can be seen as an example of how to use the API, and is useful for testing/debugging purpose: libcangjie_cli. Read its documentation for details on how to use it.