зеркало из https://github.com/mono/mail-archives.git
142 строки
4.1 KiB
HTML
142 строки
4.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 464128] char* should be in ANSI encoding when passed to C runtime rather than Unicode
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20464128%5D%20char%2A%20should%20be%20in%20ANSI%20encoding%20when%0A%20passed%20to%20C%20runtime%20rather%20than%20Unicode&In-Reply-To=bug-464128-28286%40http.bugzilla.novell.com/">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="104932.html">
|
|
<LINK REL="Next" HREF="104912.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 464128] char* should be in ANSI encoding when passed to C runtime rather than Unicode</H1>
|
|
<B>bugzilla_noreply at novell.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20464128%5D%20char%2A%20should%20be%20in%20ANSI%20encoding%20when%0A%20passed%20to%20C%20runtime%20rather%20than%20Unicode&In-Reply-To=bug-464128-28286%40http.bugzilla.novell.com/"
|
|
TITLE="[Mono-bugs] [Bug 464128] char* should be in ANSI encoding when passed to C runtime rather than Unicode">bugzilla_noreply at novell.com
|
|
</A><BR>
|
|
<I>Thu Oct 14 07:14:39 EDT 2010</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="104932.html">[Mono-bugs] [Bug 646491] Constructor X509Certificate2(byte[]) throws an exception
|
|
</A></li>
|
|
<LI>Next message: <A HREF="104912.html">[Mono-bugs] [Bug 646505] New: BoundField databinding inconsistency between Mono and MS.NET
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#104909">[ date ]</a>
|
|
<a href="thread.html#104909">[ thread ]</a>
|
|
<a href="subject.html#104909">[ subject ]</a>
|
|
<a href="author.html#104909">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>
|
|
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=464128">https://bugzilla.novell.com/show_bug.cgi?id=464128</A>
|
|
|
|
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=464128#c6">https://bugzilla.novell.com/show_bug.cgi?id=464128#c6</A>
|
|
|
|
|
|
--- Comment #6 from Kornél Pál <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">kornelpal at gmail.com</A>> 2010-10-14 11:14:38 UTC ---
|
|
One more thing regarding Mono.Posix:
|
|
|
|
Windows File APIs can either accept ANSI or OEM depending on AreFileApisANSI
|
|
(<A HREF="http://msdn.microsoft.com/en-us/library/aa363781.aspx">http://msdn.microsoft.com/en-us/library/aa363781.aspx</A>) so Encoding.Default may
|
|
not always work.
|
|
|
|
OEM code page is another system wide setting (bound to ANSI code page I think
|
|
but can be modified in registry) that is the legacy DOS code page (like 437).
|
|
Console windows usually use OEM encoding but Console API provides GetConsoleCP
|
|
and GetConsoleOutputCP (with Set functions as well) so they may very well use
|
|
any other code page. Note that console code page is handled correctly by Mono.
|
|
|
|
--
|
|
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
|
|
------- You are receiving this mail because: -------
|
|
You are the QA contact for the bug.
|
|
You are the assignee for the bug.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="104932.html">[Mono-bugs] [Bug 646491] Constructor X509Certificate2(byte[]) throws an exception
|
|
</A></li>
|
|
<LI>Next message: <A HREF="104912.html">[Mono-bugs] [Bug 646505] New: BoundField databinding inconsistency between Mono and MS.NET
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#104909">[ date ]</a>
|
|
<a href="thread.html#104909">[ thread ]</a>
|
|
<a href="subject.html#104909">[ subject ]</a>
|
|
<a href="author.html#104909">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
|
|
mailing list</a><br>
|
|
</body></html>
|