Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use UTF-8 for Linux #12

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Use UTF-8 for Linux #12

wants to merge 7 commits into from

Commits on Aug 28, 2024

  1. Configuration menu
    Copy the full SHA
    6bca9ae View commit details
    Browse the repository at this point in the history
  2. Add headers to target sources

    So that IDEs can list them.
    zeule committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    dcc8158 View commit details
    Browse the repository at this point in the history
  3. Tune up finding/installing oniguruma

    Simplify script, fix install() for the bundled onigiruma, fix using
    pkg-config in the find module.
    zeule committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    35cdb70 View commit details
    Browse the repository at this point in the history
  4. Add build tree cmake export

    This allows to use find_package() with the build tree.
    zeule committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    f7ed212 View commit details
    Browse the repository at this point in the history
  5. Add missing include

    zeule committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    b9261f9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f8fce6c View commit details
    Browse the repository at this point in the history
  7. Use UTF-8 for Linux

    The wchar_t in Linux is very wide, 32 bits, and thus almost unused,
    which, in turn, results in poor support in tooling. And that's to be
    expected when UTF-8 is the default. At the same time, Iconv, which is
    part of glibc, is universally available. Thus we can use it to convert
    UCS-2 into UTF-8 in Linux and always use UTF-8 in the library API.
    zeule committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    7855931 View commit details
    Browse the repository at this point in the history