CharacterTypes.h 546 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2021, Tim Flynn <trflynn89@pm.me>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <AK/Forward.h>
  8. #include <AK/String.h>
  9. #include <AK/Types.h>
  10. namespace Unicode {
  11. // Note: The single code point case conversions only perform simple case folding.
  12. // Use the full-string transformations for full case folding.
  13. u32 to_unicode_lowercase(u32 code_point);
  14. u32 to_unicode_uppercase(u32 code_point);
  15. String to_unicode_lowercase_full(StringView const&);
  16. String to_unicode_uppercase_full(StringView const&);
  17. }