Original Post
I want to move away from ansi, ascii char stuff 1: I want to use unicode so I can start getting used to a more international concept. but I am already confused with UTF-8, 16, 32, big endian etc etc chaos already... 2: should I use Win32 or c++ functions? is functional enough for unicode tasks? or do they only move 8 or 16 bits of data and couldn't care less of content? 3: std::string or my own object? so little examples out there using tchar and std::string ... so little examples of anything... 4: As I compile using latest MS Platform SDK, I get error when I use sprintf to format my code ... So safety is nice ... but should I use the MS strsafe library? Maybe I should just make my own string object, but what should I include in it? I should be able to feed it with Ascii or Unicode chars ... I should be able to return ascii or unicode chars... The internals working could wery well be just unicode But should I use UTF-16? or 32? UTF-32 seems nice to use as internal format, but it will demand alot of conversion overhead all the time. I guess utf-16 is the native for windows ... big or little endian? How is linux dealing with unicode? How to deal with buffer owerflow and such stuff?