Androider
Androider

Reputation: 21345

C++ WCHAR and WString on IOS

wchar_t and wchar_t*, and wstring not supported well on Android. I was wondering what the story is on ios. Would a library containing wide string functions and variables run ok on ios? would it need to be recompiled?

Upvotes: 1

Views: 1090

Answers (1)

Martin Linklater
Martin Linklater

Reputation: 181

iOS does support the whcar_t and std::wstring types. One thing to note though is that wchar_t on iOS is 32 bits wide rather than 16 bits wide. This may cause cross-platform issues.

Upvotes: 1

Related Questions