diff liboctave/wrappers/uniconv-wrappers.h @ 28534:548598760b66

get_ASCII_filename: On Windows, optionally try to convert to the locale charset. * lo-sysdep.h, lo-sysdep.cc (get_ASCII_filename): Optionally, try to convert the file path to the locale charset. * uniconv-wrappers.h, uniconv-wrappers.cc (octave_u8_conv_to_encoding_strict): Add new function.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 04 Jul 2020 12:14:21 +0200
parents bd51beb6205e
children 4e196fbb28a5
line wrap: on
line diff
--- a/liboctave/wrappers/uniconv-wrappers.h	Sat Jul 04 11:14:43 2020 +0900
+++ b/liboctave/wrappers/uniconv-wrappers.h	Sat Jul 04 12:14:21 2020 +0200
@@ -50,6 +50,10 @@
                             size_t srclen, size_t *lengthp);
 
 extern char *
+octave_u8_conv_to_encoding_strict (const char *tocode, const uint8_t *src,
+                                   size_t srclen, size_t *lengthp);
+
+extern char *
 octave_u32_conv_to_encoding_strict (const char *tocode, const uint32_t *src,
                                     size_t srclen, size_t *lengthp);