DOKK / manpages / debian 10 / libnetsds-util-perl / NetSDS::Util::Translit.3pm.en
NetSDS::Util::Translit(3pm) User Contributed Perl Documentation NetSDS::Util::Translit(3pm)

NetSDS::Util::Translit - transliteration routines

        use NetSDS::Const;
        use NetSDS::Util::Translit;
        # Transliterate cyrillic string
        $trans_string = trans_cyr_lat($cyr_string);
        # Reverse transliteration to russian language
        $rus_string = trans_lat_cyr("Vsem privet", LANG_RU);

"NetSDS::Util::Translit" module contains routines for bidirectional cyrillic text transliteration. Now it supports russian and ukrainian languages processing.

Convert text from cyrillic to latin encoding.

Language may be set if not default one.

        $lat = trans_cyr_lat($string);
    
This function transliterate string from latin encoding to cyrillic one.

Target language may be set if not default one.

        $cyr = trans_lat_cyr("Sam baran", "ru");
    

None yet

Unknown yet

Implement examples and tests.

Encode, perlunicode

Valentyn Solomko <pere@pere.org.ua>

2019-02-22 perl v5.28.1