[Mono-bugs] [Bug 464128] char* should be in ANSI encoding when passed to C runtime rather than Unicode

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 13 09:53:14 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=464128

https://bugzilla.novell.com/show_bug.cgi?id=464128#c2


--- Comment #2 from Kornél Pál <kornelpal at gmail.com> 2010-10-13 13:53:13 UTC ---
A list of C runtime functions (as defined by MSVC):
http://msdn.microsoft.com/en-us/library/634ca0c2.aspx

This has to be some kind of audit. Its mostly just a matter of string search
for CRT function names. If I had a complete list of problems, I had attached a
patch as well.

On the other hand the audit is quite simple because Mono is storing UTF-8 in
char* while C runtime functions expect ANSI encoding. As a result the wrong
unless proven to be right principle could be applied.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list