olutter/bidi
https://unicode.org/reports/tr9/ 에 설명된 유니코드 양방향 알고리즘(UBA)의 구현.
- Stars
- 5
- Forks
- 6
- 최근 푸시(UTC)
- 2025. 9. 16.
- 프로젝트 상태
- 활성
언어DartHTMLSwiftKotlinObjective-C
기술 주제
사용 중인 의존성
원본 README
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
README 펼치기 / 접기
Implementation of the Unicode Bidirectional Algorithm (UBA).
Reference: https://unicode.org/reports/tr9/.
Converts logical strings to their equivalent visual representation. Persian, Hebrew and Arabic languages (and any other RTL language) are supported.
Web Demo
Getting Started
In your pubspec.yaml file add:
dependencies:
bidi: any
Then, in your code import and use the package:
import 'package:bidi/bidi.dart' as bidi;
final visual = bidi.logicalToVisual('نوشته پارسی اینجا گذارده شود.');
print(visual);
Other Implementations
This package is also written in Rust (apart from this package, which is written in Dart). If you are looking for a pure Rust implementation of this package, look at https://crates.io/crates/bidi/.