Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kiwiyou/hypua
한양 PUA 코드로 인코딩된 옛한글을 첫가끝(IPF) 방식으로 변환하는 라이브러리
https://github.com/kiwiyou/hypua
ipf korean pua rust unicode
Last synced: 17 days ago
JSON representation
한양 PUA 코드로 인코딩된 옛한글을 첫가끝(IPF) 방식으로 변환하는 라이브러리
- Host: GitHub
- URL: https://github.com/kiwiyou/hypua
- Owner: kiwiyou
- License: unlicense
- Created: 2020-03-28T15:47:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-03-28T18:49:45.000Z (over 4 years ago)
- Last Synced: 2024-10-10T20:19:13.516Z (about 1 month ago)
- Topics: ipf, korean, pua, rust, unicode
- Language: Rust
- Size: 39.1 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hypua
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/kiwiyou/hypua/Rust?style=flat-square)](https://github.com/kiwiyou/hypua/actions?query=workflow%3ARust)
[![License](https://img.shields.io/github/license/kiwiyou/hypua?style=flat-square)](https://github.com/kiwiyou/hypua/blob/master/LICENSE)
[![Crates.io](https://img.shields.io/crates/v/hypua?style=flat-square)](https://crates.io/crates/hypua)
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/kiwiyou/hypua?style=flat-square)한양 PUA 코드로 인코딩된 옛한글을 첫가끝(IPF) 방식으로 변환하는 라이브러리
[문서](https://docs.rs/hypua)
## 사용법
- `Cargo.toml`의 `dependencies` 항목에 `hypua`를 추가합니다.
```toml
[dependencies]
hypua = "0.2.0"
```## 사용 예
[example/hunmin.rs](https://github.com/kiwiyou/hypua/blob/master/example/hunmin.rs):
```rust
use hypua::to_ipf_string;fn main() {
let text = "이런 젼로 어린 百姓이 니르고져 배 이셔도.";
println!("{}", to_ipf_string(text));
}
```