crypto (version 1.1.3)

replace_encoding: Check locale encoding

Description

Helper function to ensure encoding is UTF-8

Usage

replace_encoding(sys_locale)

Arguments

sys_locale

string system locale

Value

Sets system variable to UTF-8

Examples

Run this code
# NOT RUN {
sys_locale <- Sys.getlocale(category = 'LC_TIME')
replace_encoding(sys_locale)
# }

Run the code above in your browser using DataLab