Skip to content

Commit

Permalink
What is the encoding?
Browse files Browse the repository at this point in the history
  • Loading branch information
DavisVaughan committed Sep 25, 2024
1 parent 79eed1b commit c4f1640
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/ark/src/data_explorer/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,10 @@ mod tests {
let _ = harp::parse_eval_global(r#"rm(text)"#).unwrap();
assert_eq!(data, "UTF-8".to_string());

let data = harp::parse_eval_global("Sys.getlocale()").unwrap();
let data = String::try_from(data).unwrap();
assert_eq!(data, "wrong".to_string());

// let _ = harp::parse_eval_global(r#"x <- c("ボルテックス")"#).unwrap();
// let data = harp::parse_eval_global(r#"Encoding(x)"#).unwrap();
// let data = String::try_from(data).unwrap();
Expand Down

0 comments on commit c4f1640

Please sign in to comment.