cwalk icon indicating copy to clipboard operation
cwalk copied to clipboard

Wide string support

Open aomsin2526 opened this issue 1 year ago • 2 comments

When working with path sometimes Wide-string is a must.

Do you think adding Wide string support such as wchar_t will worth a effort?

aomsin2526 avatar Apr 15 '23 23:04 aomsin2526

Hi @aomsin2526 , thanks for your issue! That's a good question. I know that some platforms push for that. In short, even though I am not against adding wide character function variants, I currently don't have any plans to implement that myself.

likle avatar Apr 16 '23 16:04 likle

I know that some platforms push for that.

UTF-8 is widely (pun intended) considered to be the gold standard nowadays, but unfortunately Windows is stuck with UTF-16 (UCS-2 to be precise).

My suggestion would be to avoid polluting the API, especially considering there is experimental UTF-8 support in modern versions of Microsoft's operating system.

See https://utf8everywhere.org.

davidebeatrici avatar May 06 '23 21:05 davidebeatrici