ceabiodb / biodb

An R package framework for accessing biological and chemical databases and developing or extending new connectors.
GNU Affero General Public License v3.0
11 stars 2 forks source link

UTF-8 #377

Open ethevenot opened 5 years ago

ethevenot commented 5 years ago

The command:

mybiodb <- biodb::Biodb$new() generates the following test (including warning): BIODB.INFO[2019-06-11 14:46:10][BiodbConfig::set()] : Set multival.field.sep to ";". BIODB.INFO[2019-06-11 14:46:10][BiodbConfig::set()] : Set offline to FALSE. BIODB.INFO[2019-06-11 14:46:10][BiodbConfig::set()] : Set shortterm.cache.subfolder to "shortterm". BIODB.INFO[2019-06-11 14:46:10][BiodbConfig::set()] : Set svn.binary.path to "". BIODB.INFO[2019-06-11 14:46:10][Biodb::initialize()] : Created successfully new Biodb instance. Warning message: In Sys.setlocale(locale = "en_US.UTF-8") : OS reports request to set locale to "en_US.UTF-8" cannot be honored

The command:

chebi$convCasToChebi(tableDF[, "CAS.number"]) generates the following error after a few seconds: Input is not proper UTF-8, indicate encoding ! Bytes: 0xB1 0x29 0x2D 0x63 Error: 1: Input is not proper UTF-8, indicate encoding ! Bytes: 0xB1 0x29 0x2D 0x63

Thank you.