#unicode #ansi #bengali #ascii #bijoy

poriborton

Interconversion between Unicode and various Bengali ANSI encodings

5 releases

0.2.3 Dec 22, 2023
0.2.2 May 1, 2022
0.2.1 Aug 10, 2021
0.2.0 Aug 9, 2021
0.1.0 Aug 8, 2021

#274 in Text processing

30 downloads per month

MIT license

33KB
739 lines

poriborton (পরিবর্তন)

Build Status crates.io docs.rs Rust

A Rust crate for interconversion between Unicode and various Bengali ANSI encodings (precisely Windows-1252).

Supports

  • Unicode to Bijoy 2000 encoding

Example

use poriborton::bijoy2000::unicode_to_bijoy;

fn main() {
    // Converts Unicode to Bijoy2000 encoding.
    
    assert_eq!(unicode_to_bijoy("আমি বাংলায় গান গাই"), "Avwg evsjvq Mvb MvB");
}

Acknowledgement

Dependencies

~0.6–1.1MB
~25K SLoC