Top "Wchar-t" questions

`wchar_t` is a fundamental data type in the C and C++ programming languages, and it stands for "wide character". Its intended use is to hold any character value from "the system's character set".

wchar_t for UTF-16 on Linux?

Does it make any sense to store UTF-16 encoded text using wchar_t* on Linux? The obvious problem is that …

c linux unicode utf-16 wchar-t
Comparing 2 wchar_t arrays

I'm sure this is sooo simple but I've come from a c# background where strings are easy and now I …

c++ string wchar-t
Understanding and writing wchar_t in C

I'm currently rewriting (a part of) the printf() function for a school project. Overall, we were required to reproduce the …

c printf wchar-t widechar
char16_t printing

Recently I had a problem with porting a Windows application to Linux because of the wchar_t size difference between …

printing c++11 cout wchar-t char16-t
isalpha equivalent for wchar_t

what is the equivalent function for isalpha or isalnum using wchar_t? wctype ? an example would be nice also thanks

c++ unicode localization wchar-t
char vs wchar_t

I'm trying to print out a wchar_t* string. Code goes below: #include <stdio.h> #include <string.…

c encoding wchar-t
How to concat an int to a wchar_t* in C++?

I have to create and write on N files, everyone must have an integer ending to identificate it. This is …

c++ int wchar-t wchar