Skip to content

VS projects: use Unicode for VC10+ - #3720

Closed
MarcelRaad wants to merge 1 commit into
curl:masterfrom
MarcelRaad:vs_projects_unicode
Closed

VS projects: use Unicode for VC10+#3720
MarcelRaad wants to merge 1 commit into
curl:masterfrom
MarcelRaad:vs_projects_unicode

Conversation

@MarcelRaad

Copy link
Copy Markdown
Member

All Windows APIs have been natively UTF-16 since Windows 2000 and the
non-Unicode variants are just wrappers around them. Only Windows 9x
doesn't understand Unicode without the UnicoWS DLL. As later Visual
Studio versions cannot target Windows 9x anyway, using the ANSI API
doesn't really have any benefit there.

This avoids issues like KNOWN_BUGS 6.5.

Ref: #2120

Closes

All Windows APIs have been natively UTF-16 since Windows 2000 and the
non-Unicode variants are just wrappers around them. Only Windows 9x
doesn't understand Unicode without the UnicoWS DLL. As later Visual
Studio versions cannot target Windows 9x anyway, using the ANSI API
doesn't really have any benefit there.

This avoids issues like KNOWN_BUGS 6.5.

Ref: curl#2120

Closes
@jay

jay commented Apr 3, 2019

Copy link
Copy Markdown
Member

I suspect there are a number of places where we pass char strings to windows API calls without calling the ANSI specific version. Maybe I'm wrong though.

@MarcelRaad

Copy link
Copy Markdown
Member Author

Those have been fixed with d40f4e1 almost two years ago. I've been using only the Unicode version of curl ever since then (and of libcurl since 2011).

@jay

jay commented Apr 3, 2019

Copy link
Copy Markdown
Member

Ok let's try it out.

@MarcelRaad MarcelRaad closed this in 16c1e44 Apr 4, 2019
@MarcelRaad
MarcelRaad deleted the vs_projects_unicode branch April 4, 2019 09:20
@MarcelRaad

Copy link
Copy Markdown
Member Author

OK, thanks!

@lock lock Bot locked as resolved and limited conversation to collaborators Jul 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants