diff --git a/apis/r/DESCRIPTION b/apis/r/DESCRIPTION index b61b7ef8e3..b470cd8f62 100644 --- a/apis/r/DESCRIPTION +++ b/apis/r/DESCRIPTION @@ -6,7 +6,7 @@ Description: Interface for working with 'TileDB'-based Stack of Matrices, like those commonly used for single cell data analysis. It is documented at ; a formal specification available is at . -Version: 1.15.0 +Version: 1.15.1 Authors@R: c( person(given = "Aaron", family = "Wolen", role = c("cre", "aut"), email = "aaron@tiledb.com", diff --git a/apis/r/NEWS.md b/apis/r/NEWS.md index a0834287ed..9dbdec86b8 100644 --- a/apis/r/NEWS.md +++ b/apis/r/NEWS.md @@ -1,3 +1,7 @@ +# tiledbsoma 1.15.1 + +* Encode string metadata as `TILEDB_STRING_UTF8` instead of `TILEDB_STRING_ASCII` [#3469](https://github.com/single-cell-data/TileDB-SOMA/pull/3469) + # tiledbsoma 1.15.0 ## Changes diff --git a/apis/r/src/groups.cpp b/apis/r/src/groups.cpp index a7345c2f9b..e6123e5b50 100644 --- a/apis/r/src/groups.cpp +++ b/apis/r/src/groups.cpp @@ -254,8 +254,9 @@ void c_group_put_metadata( std::string s(v[0]); // We use TILEDB_CHAR interchangeably with TILEDB_STRING_ASCII is // this best string type? + // Use TILEDB_STRING_UTF8 for compatibility with Python API xp->grpptr->set_metadata( - key, TILEDB_STRING_ASCII, s.length(), s.c_str()); + key, TILEDB_STRING_UTF8, s.length(), s.c_str()); break; } case LGLSXP: { // experimental: map R logical (ie TRUE, FALSE, NA) to