diff --git a/com.oracle.truffle.r.native/fficall/src/common/localecharset_fastr.c b/com.oracle.truffle.r.native/fficall/src/common/localecharset_fastr.c new file mode 100644 index 0000000000000000000000000000000000000000..ba28eaf017e4356a9af4c30961a41c42f8e2c1cc --- /dev/null +++ b/com.oracle.truffle.r.native/fficall/src/common/localecharset_fastr.c @@ -0,0 +1,20 @@ +/* + * This material is distributed under the GNU General Public License + * Version 2. You may review the terms of this license at + * http://www.gnu.org/licenses/gpl-2.0.html + * + * Copyright (c) 1995-2015, The R Core Team + * Copyright (c) 2003, The R Foundation + * Copyright (c) 2015, 2016, Oracle and/or its affiliates + * + * All rights reserved. + */ + +#include <Rinternals.h> +#include <stdlib.h> + +const char *locale2charset(const char *locale) +{ + return "UTF-8"; +} +