Skip to content

Document ccc - #46

Merged
dogo merged 1 commit into
masterfrom
feature/doc-ccc
Sep 1, 2024
Merged

Document ccc#46
dogo merged 1 commit into
masterfrom
feature/doc-ccc

Conversation

@dogo

@dogo dogo commented Sep 1, 2024

Copy link
Copy Markdown
Owner

Summary

This PR adds ccc.h, a header file for character code conversion in OSLib, using BenHur's intraFont functions. It includes macros for converting various encodings (Shift JIS, GBK, Korean, BIG5, UTF-8) to UCS2, setting an error character, and shutting down the library.

Key Macros

  • oslCccSJIStoUCS2, oslCccGBKtoUCS2, oslCccKORtoUCS2, oslCccBIG5toUCS2, oslCccUTF8toUCS2, oslCccCodetoUCS2: Convert different encodings to UCS2.
  • oslCccSetErrorCharUCS2: Set the error character for failed conversions.
  • oslCccShutDown: Shutdown the Character Code Conversion Library.

This PR introduces key functions for encoding conversions in OSLib, with clear Doxygen documentation for easy reference.

@dogo
dogo merged commit fcbb053 into master Sep 1, 2024
@dogo
dogo deleted the feature/doc-ccc branch September 1, 2024 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant