Questions tagged [multibyte-characters]
37 questions
0
votes
0 answers
JSch - Unable to list some of the file paths having multibyte characters
I am trying to get the list of files from a folder location on a Windows SFTP server using JSch. One of the behavior I am seeing is:
After a certain number of characters, the file is not even getting listed and no exception is thrown.
For Ex.:
File…

Dwarrior
- 687
- 2
- 10
- 26
0
votes
0 answers
Spark.Sql not able to read Japanese (Mutltbyte charater) from hive table?
I am writing Japanese character in the hive table as part of one of my program. Later when i am select that field from Hive i am able to read it but when i reading it from Spark.sql it is not giving me expected result .
spark.sql("select SQL_VAL as…

KapilD
- 1
- 1
0
votes
0 answers
LastDelimiter does not find the last space character
I am using C++ Builder 10.2 Tokyo, and I have to find the position of the last space in a String variable which has a value like "XXX YYYYY TYUR KXYZ";
If I use the function LastDelimiter(const System::UnicodeString Delimiters, const…

Jayme Jeffman
- 53
- 6
0
votes
0 answers
mbsrtowcs succeeds, but how to print char by char
I'm on Mac OS X, using clang++ 6.0.
I can print an std::string of Thai characters to my console. I can convert it to an array of wide characters using mbsrtowcs(). But printing character by character shows only question marks '?'. I must not…
user9987379
0
votes
2 answers
C++ Use of wstring_convert on Linux
I would like to be able to convert text read from a file into multibyte characters.
I have the following C++ code on Windows that is working for me.
When I try to compile the code on Linux though it is failing.
#include…

George Hernando
- 2,550
- 7
- 41
- 61
0
votes
1 answer
How does multi-byte char '\377777' work?
Clang mentioned this thingy to me when I was trying some various non-std ways to find std::numeric_limits::max() for my allocator::max_size()
The expression size seems limited at 4 bytes so it looks pretty much like an impl-defined…

sandthorn
- 2,770
- 1
- 15
- 59
-1
votes
1 answer
How to convert wchar_t to multi-bytes char in C
I'm looking for a way to convert wchar_t to multi-bytes char, without using wctomb or any ready-made routine. I have to do that in C, not C++, and the interoperability doesn't matter here.
My goal is to print wchar byte by byte using the write…

Kap Merang
- 9
- 2