lcl: Change Aspects of the Locale for the Transliteration

Description Usage Arguments Value

View source: R/locale.R

Description

Change Aspects of the Locale for the Transliteration

Usage

1
lcl(loc)

Arguments

loc

string, can take one of three values:

"L" - Change aspect of the locale to Serbian Latin.

"C" - Change aspect of the locale to Serbian Cyrillic.

"D" - Change aspect of the locale to system default.

It is important to change the aspect of the locale to character before transliteration of the characters. So if trasliteration is done from the Serbian Latin to Serbian Cyrillic it is important to set locale to Serbian Latin, locale(loc = "L"). If not, strange behaviour of characters, may occur. If transliteration is done from the Serbian Cyrillic to Serbian Latin it is important to set loacale to Serbian Cyrillic, lcl(loc="C"). If locale not set, before entering, transliteration may not be done properly, and strange behaviour of characters may occur.

Value

A character string of length one describing the locale in use


basarabam/SerbianCyrLat documentation built on Nov. 3, 2019, 2:07 p.m.