Quellcodebibliothek
Statistik
Leitseite
products
/
Sources
/
formale Sprachen
/
C
/
Firefox
/
third_party
/
rust
/
icu_casemap
/ (
Firefox Browser
Version 153.0.1
©
) Datei vom 27.6.2026 mit Größe 963 B
Quelle README.md Sprache: unbekannt
Spracherkennung für: .md vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
# icu_casemap [](https://
crates.io/crates/icu_casemap)
<!-- cargo-rdme start -->
Case mapping for Unicode characters and strings.
This module is published as its own crate ([`icu_casemap`](
https://docs.rs/icu_casemap/l
atest/icu_casemap/))
and as part of the [`icu`](
https://docs.rs/icu/latest/icu/)
crate. See the latter for more d
etails on the ICU4X project.
## Examples
```rust
use icu::casemap::CaseMapper;
use icu::locale::langid;
let cm = CaseMapper::new();
assert_eq!(
cm.uppercase_to_string("hello world", &langid!("und")),
"HELLO WORLD"
);
assert_eq!(
cm.lowercase_to_string("Γειά σου Κόσμε", &langid!("und")),
"γειά σου κόσμε"
);
```
[`ICU4X`]: ../icu/index.html
<!-- cargo-rdme end -->
## More Information
For more information on development, authorship, contributing etc. please visit [`ICU4X hom
e page`](
https://github.com/unicode-org/icu4x).
[Dauer der Verarbeitung: 0.25 Sekunden, vorverarbeitet 2026-08-25]
2026-08-25