Top "Wstring" questions

C++ standard library class to hold strings with wide characters.

How to convert std::wstring to numeric type(int, long, float)?

What's the best way to convert std::wstring to numeric type, such as int, long, float or double?

c++ stl types wstring
Confused about C++'s std::wstring, UTF-16, UTF-8 and displaying strings in a windows GUI

I'm working on a english only C++ program for Windows where we were told "always use std::wstring", but it …

c++ unicode utf-8 utf-16 wstring
Check if std::wstring is null or empty

How to check if an std::wstring is null or empty?

c++ null wstring
use wstring get line read file

I have a file that contains text, I would like to get each line from this file into a std::…

c++ string ifstream wstring
Find method in std::wstring

I have declared Wstring as follows wstring strID When I try to find the occurrences sub-string as follows int index = …

c++ string wstring
How do I convert from a wchar_t* to a wstring?

Or how to I initialize a wstring using a wchar_t*? I tried something like this, but it's not quite …

c++ wchar-t wstring
Best way to convert std::wstring to QString

I'm currently working on a larger project, where the "logic" is implemented in standard C++ with all strings being handled …

c++ qt qstring wstring
How can I get the byte size of std::wstring?

I am using std::wstring as my Unicode style string. Now I want to get the byte size of a …

c++ string winapi size wstring
UTF-8 Compatibility in C++

I am writing a program that needs to be able to work with text in all languages. My understanding is …

c++ unicode utf-8 wchar-t wstring
Is there any built-in function that convert wstring or wchar_t* to UTF-8 in Linux?

I want to convert wstring to UTF-8 Encoding, but I want to use built-in functions of Linux. Is there any …

c++ c linux utf-8 wstring