News for hackers. Stuff that matters.
Re:Moving Away from Python 2 by merb on Friday May 20, 2016 @02:43PM (#11740402)
actually the win api is broken when it comes to unicode. there is no real unicode in windows and thats a huge problem.

Handling UTF-8 like on Linux is definitly akward in the Win32 API. And actually that only was caused by the fact of backwards compability.

Actually it would be huge if they would force users to unicode more. But I doubt that will ever happen. We maybe see Windows Active Directory on Linux before this will happen.

Re:Moving Away from Python 2 by mark-r on Friday May 20, 2016 @04:52PM (#11741415)
It's not the API that's broken, that uses UTF-16 consistently which qualifies as Unicode by any definition.

The problem really only lies in file and console encoding. If they'd simply give you the option between legacy code pages and UTF-8, and made UTF-8 the default, life would be grand.