[Mono-bugs] [Bug 446172] New: the main() generated by mkbundle2 should be Unicode aware
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Nov 18 12:03:30 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=446172
Summary: the main() generated by mkbundle2 should be Unicode
aware
Product: Mono: Tools
Version: 1.2.6
Platform: Other
OS/Version: Windows
Status: NEW
Severity: Normal
Priority: P5 - None
Component: tools
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: tlillqvist at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
The main() function in the main.c generated by the mkbundle2 tool currently
passes its normal "narrow" char* argv on to mono_main(). This means that on
Windows, it cannot accept command line arguments with arbitrary Unicode
characters. Also, apparently mono_main() expects that the argv passed to it is
in UTF-8 also on Windows (while it actually currently is in the system
codepage).
It is quite simple to fix the mkbundle'd main() to accept an arbitrary Unicode
command line on Windows and pass that as an UTF-8 argument vector to
mono_main(). Will attach patch.
--
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