Skip to content

What is the Unicode "feature"? #55

Answered by vszakats
eabase asked this question in Q&A
Discussion options

You must be logged in to vote

Windows offers a "unique" way (compared to *nix operating systems) for apps to handle Unicode characters. It needs a lot of internal complexity. The curl Unicode feature implements some of this. Support is still incomplete. It also breaks compatibility with non-Unicode curl builds.

The Unicode feature means that curl talks to the OS via its "wide" Win32 API and "wide" CRT calls. These support the whole Unicode character range. To talk to these APIs, curl needs to convert strings back and forth between UTF-16, UTF-8, and potentially other 8-bit codepages. curl dependencies might have their own ways to exchange strings with them in Unicode. curl needs to adapt to these as well.

We track Uni…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vszakats
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #54 on October 11, 2023 12:58.