bt_encoding_brute_force: Try conversion to every possible encoding

View source: R/bt_encoding_brute_force.R

bt_encoding_brute_forceR Documentation

Try conversion to every possible encoding

Description

Tries converting the target string from every single encoding into UTF8.

Usage

bt_encoding_brute_force(tgt.string, print.all = F)

Arguments

tgt.string

the string to convert

print.all

print all the results. a human will probably have to read this to determine the answer.

Details

Determines once and for all if conversion is the problem, or the original is simply corrupted.

Probably requires human looking at the results to see which (if any) of the encodings produced a salient result.

Value

a list of all the results

References

www.globaltradealert.org


global-trade-alert/gtabastiat documentation built on June 4, 2023, 6:40 a.m.