<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1894</id>
	<title>Nabble - MinGW - User</title>
	<updated>2009-12-20T01:55:03Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/MinGW---User-f1894.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MinGW---User-f1894.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26862094</id>
	<title>Re: STLPort test units won't build</title>
	<published>2009-12-20T01:55:03Z</published>
	<updated>2009-12-20T01:55:03Z</updated>
	<author>
		<name>keithmarshall</name>
	</author>
	<content type="html">On Sunday 20 December 2009 02:25:25 Greatwolf wrote:
&lt;br&gt;&amp;gt; I am able to build stlport 5.2.1 successfully under MinGW
&lt;br&gt;&amp;gt; (installed with mingw-5.1.6.exe) but for some reason building the
&lt;br&gt;&amp;gt; test units in it results in compiler errors:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; error: declaration of C function Long InterlockedDecrement
&lt;br&gt;&amp;gt; conflicts with...
&lt;br&gt;&amp;gt; error: declaration of C function Long InterlockedIncrement...
&lt;br&gt;&amp;gt; error: declaration of C function Long InterlockedExchange...
&lt;br&gt;&lt;br&gt;Looks like *some* of the Increment* function prototypes have been 
&lt;br&gt;incorrectly declared in w32api's winbase.h; (MSDN says some should 
&lt;br&gt;be __cdecl, but w32api declares all as WINAPI, (i.e. __stdcall)).
&lt;br&gt;&lt;br&gt;&amp;gt; The problem seems to be a redeclaration of those functions between
&lt;br&gt;&amp;gt; winbase.h header file supplied by mingw and the _windows.h header
&lt;br&gt;&amp;gt; file supplied by stlport.
&lt;br&gt;&lt;br&gt;This wouldn't be a problem, if the declarations were correct, (thus 
&lt;br&gt;consistent), in both places; the *real* problem is those incorrect 
&lt;br&gt;declarations in w32api.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I searched around for possible solutions and this one seem to come
&lt;br&gt;&amp;gt; close:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.codesynthesis.com/projects/xsd/extras/build-windows.xht&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.codesynthesis.com/projects/xsd/extras/build-windows.xht&lt;/a&gt;&lt;br&gt;&amp;gt;ml
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The compiler errors match the ones that I am seeing when I try to
&lt;br&gt;&amp;gt; build it. But the site says this problem might happen if your
&lt;br&gt;&amp;gt; using an older version of cygwin. I couldn't find this problem as
&lt;br&gt;&amp;gt; it relates to using mingw tools.
&lt;/div&gt;&lt;br&gt;Cygwin and mingw32 share a common code base for w32api; if it's wrong 
&lt;br&gt;for one, it will be similarly wrong for the other.
&lt;br&gt;&lt;br&gt;&amp;gt; Why does this happen and how should this be resolve?
&lt;br&gt;&lt;br&gt;The bugs in w32api need to be fixed. &amp;nbsp;I don't have time to address 
&lt;br&gt;it right now, so please file a formal bug report, (on the bug tracker 
&lt;br&gt;please), so that it isn't forgotten: &lt;a href=&quot;http://mingw.org/Reporting_Bugs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mingw.org/Reporting_Bugs&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Keith.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26862094&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/STLPort-test-units-won%27t-build-tp26860525p26862094.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26860525</id>
	<title>STLPort test units won't build</title>
	<published>2009-12-19T18:25:25Z</published>
	<updated>2009-12-19T18:25:25Z</updated>
	<author>
		<name>Greatwolf-2</name>
	</author>
	<content type="html">I am able to build stlport 5.2.1 successfully under MinGW (installed with 
&lt;br&gt;mingw-5.1.6.exe) but for some reason building the test units in it results 
&lt;br&gt;in compiler errors:
&lt;br&gt;&lt;br&gt;error: declaration of C function Long InterlockedDecrement conflicts 
&lt;br&gt;with...
&lt;br&gt;error: declaration of C function Long InterlockedIncrement...
&lt;br&gt;error: declaration of C function Long InterlockedExchange...
&lt;br&gt;&lt;br&gt;The problem seems to be a redeclaration of those functions between 
&lt;br&gt;winbase.h header file supplied by mingw and the _windows.h header file 
&lt;br&gt;supplied by stlport.
&lt;br&gt;&lt;br&gt;I searched around for possible solutions and this one seem to come close:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.codesynthesis.com/projects/xsd/extras/build-windows.xhtml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.codesynthesis.com/projects/xsd/extras/build-windows.xhtml&lt;/a&gt;&lt;br&gt;&lt;br&gt;The compiler errors match the ones that I am seeing when I try to build it.
&lt;br&gt;But the site says this problem might happen if your using an older version 
&lt;br&gt;of cygwin. I couldn't find this problem as it relates to using mingw tools. 
&lt;br&gt;Why does this happen and how should this be resolve?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26860525&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/STLPort-test-units-won%27t-build-tp26860525p26860525.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26856700</id>
	<title>Re: unresolved external symbol ___mingw_vprintf</title>
	<published>2009-12-19T08:58:38Z</published>
	<updated>2009-12-19T08:58:38Z</updated>
	<author>
		<name>JonY-6</name>
	</author>
	<content type="html">On 12/19/2009 22:05, Olumide wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 12/15/2009 4:37 AM, JonY wrote:
&lt;br&gt;&amp;gt;&amp;gt; On 12/15/2009 10:37, Olumide wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I've just compiled a library with MINGW. My intention is to use this
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; library in Visual Studio .NET. Unfortunately, when I try to link the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; library, I get the following linker error:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; error LNK2019: unresolved external symbol ___mingw_vprintf referenced in
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; function _printf
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I've removed all references to printf in my code but the error persists.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I'd appreciate any advise toward resolving this error. Regards,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; try adding libmingwex.a to the MSVC linker command.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've added libmingwwex.a, now I'm getting the following errors:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; libmingwex.a(pformat.o) : error LNK2019: unresolved external symbol
&lt;br&gt;&amp;gt; ___umoddi3 referenced in function ___pformat_int
&lt;br&gt;&amp;gt; libmingwex.a(pformat.o) : error LNK2019: unresolved external symbol
&lt;br&gt;&amp;gt; ___udivdi3 referenced in function ___pformat_int
&lt;br&gt;&amp;gt; libmingwex.a(pformat.o) : error LNK2019: unresolved external symbol
&lt;br&gt;&amp;gt; __alloca referenced in function ___pformat_int
&lt;br&gt;&amp;gt; libmingwex.a(pformat.o) : error LNK2019: unresolved external symbol
&lt;br&gt;&amp;gt; __get_output_format referenced in function ___mingw_pformat
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;Those symbols are from libgcc.a, so add that to the link command too.
&lt;br&gt;&lt;br&gt;&amp;quot;_get_output_format&amp;quot; is in libmsvcrt.a, but I'm not sure about mixing 
&lt;br&gt;runtimes, ymmv.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26856700&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/unresolved-external-symbol-___mingw_vprintf-tp26788580p26856700.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26855309</id>
	<title>Re: unresolved external symbol ___mingw_vprintf</title>
	<published>2009-12-19T06:05:30Z</published>
	<updated>2009-12-19T06:05:30Z</updated>
	<author>
		<name>graphicsRat</name>
	</author>
	<content type="html">On 12/15/2009 4:37 AM, JonY wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 12/15/2009 10:37, Olumide wrote:
&lt;br&gt;&amp;gt;&amp;gt; I've just compiled a library with MINGW. My intention is to use this
&lt;br&gt;&amp;gt;&amp;gt; library in Visual Studio .NET. Unfortunately, when I try to link the
&lt;br&gt;&amp;gt;&amp;gt; library, I get the following linker error:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; error LNK2019: unresolved external symbol ___mingw_vprintf referenced in
&lt;br&gt;&amp;gt;&amp;gt; function _printf
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've removed all references to printf in my code but the error persists.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'd appreciate any advise toward resolving this error. Regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; try adding libmingwex.a to the MSVC linker command.
&lt;/div&gt;&lt;br&gt;I've added libmingwwex.a, now I'm getting the following errors:
&lt;br&gt;&lt;br&gt;libmingwex.a(pformat.o) : error LNK2019: unresolved external symbol 
&lt;br&gt;___umoddi3 referenced in function ___pformat_int
&lt;br&gt;libmingwex.a(pformat.o) : error LNK2019: unresolved external symbol 
&lt;br&gt;___udivdi3 referenced in function ___pformat_int
&lt;br&gt;libmingwex.a(pformat.o) : error LNK2019: unresolved external symbol 
&lt;br&gt;__alloca referenced in function ___pformat_int
&lt;br&gt;libmingwex.a(pformat.o) : error LNK2019: unresolved external symbol 
&lt;br&gt;__get_output_format referenced in function ___mingw_pformat
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26855309&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/unresolved-external-symbol-___mingw_vprintf-tp26788580p26855309.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26854091</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-19T02:44:17Z</published>
	<updated>2009-12-19T02:44:17Z</updated>
	<author>
		<name>Tor Lillqvist</name>
	</author>
	<content type="html">&amp;gt; Tada, a UTF-8 Character.  It actually is represented by more than one
&lt;br&gt;&amp;gt; byte in terms of memory storage size.
&lt;br&gt;&lt;br&gt;This might seem like a minor terminological nit, but it is a *Unicode*
&lt;br&gt;code point for a Chinese character, *encoded* as UTF-8. UTF-8 is not a
&lt;br&gt;set of characters. It might be a &amp;quot;charset&amp;quot; as that term usually is
&lt;br&gt;used for the combination of a character set and an encoding of it.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; What makes you think he is interested in using GLib?
&lt;br&gt;&amp;gt; Mr. Smorigo mentioned he was using C++: &amp;quot;int RecFile::openFile&amp;quot;
&lt;br&gt;&lt;br&gt;(In fact he said: &amp;quot;int RecFile::openFile(const wchar_t *fileName)&amp;quot; ,
&lt;br&gt;note the wchar_t even. There is very little in GLib API that would use
&lt;br&gt;wchar_t.)
&lt;br&gt;&lt;br&gt;Being a GLib maintainer, I hate to say this, but let's be realistic
&lt;br&gt;here: In no way is GLib (in the form of its C++ binding, glibmm) the
&lt;br&gt;ubiquitous or immediately obvious way to handle Unicode or character
&lt;br&gt;set issues in C++, especially not on Windows.
&lt;br&gt;&lt;br&gt;GLib and glibmm is mostly used by software originally written for
&lt;br&gt;Linux and usually in the GNOME-oriented subculture of Linux. (Although
&lt;br&gt;GLib is used by lots of software that does not use GNOME APIs, too,
&lt;br&gt;like GIMP for instance.) Software written for Windows from the start
&lt;br&gt;that wants to be Unicode aware tends to Microsoft style code with
&lt;br&gt;&amp;lt;tchar.h&amp;gt; and all that crack, sadly.
&lt;br&gt;&lt;br&gt;&amp;gt; In fact, Mr. Smorigo just took my advice because he understood my train
&lt;br&gt;&amp;gt; of thought.
&lt;br&gt;&amp;gt;&amp;gt; The Glib::locale_from_utf8 is perfect!
&lt;br&gt;&lt;br&gt;Sure, so you were lucky.
&lt;br&gt;&lt;br&gt;&amp;gt; There is a need to go exotic as you say because, utf8 is the way to go.
&lt;br&gt;&lt;br&gt;Of course I agree with that. That doesn't change the fact that the
&lt;br&gt;Microsft C library which is from where MinGW-compiled code gets
&lt;br&gt;functions like fopen() is not really UTF-8-friendly.
&lt;br&gt;&lt;br&gt;&amp;gt; Again, he's using C++, and using Glib::ustring is the recommended way to
&lt;br&gt;&amp;gt; go for internationalization in a platform-independant manner.
&lt;br&gt;&lt;br&gt;As much as I might enjoy that to be true, it simply isn't.
&lt;br&gt;&lt;br&gt;&amp;gt; Have a good day, and hopefully one day we could talk about something
&lt;br&gt;&amp;gt; else over a beer instead.
&lt;br&gt;&lt;br&gt;That sounds like a good idea. Mail me when you are in Helsinki;)
&lt;br&gt;&lt;br&gt;--tml
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26854091&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26854091.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26852068</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-18T18:00:50Z</published>
	<updated>2009-12-18T18:00:50Z</updated>
	<author>
		<name>David Marceau</name>
	</author>
	<content type="html">Raffaello D. Di Napoli wrote:
&lt;br&gt;&amp;gt; I don’t mean to be mean, but I really felt the urge to correct such
&lt;br&gt;&amp;gt; gross inaccuracies.
&lt;br&gt;&amp;gt; R
&lt;br&gt;The beauty of the forum is one may say something not quite accurate, but
&lt;br&gt;the intended audience will get the gist. &amp;nbsp;All of you got the gist, it
&lt;br&gt;seems. &amp;nbsp;I'm happy to hear it.
&lt;br&gt;&lt;br&gt;Merry Christmas and Happy New Year.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26852068&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26852068.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26851415</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-18T16:01:09Z</published>
	<updated>2009-12-18T16:01:09Z</updated>
	<author>
		<name>Raffaello D. Di Napoli</name>
	</author>
	<content type="html">2009/12/18 &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26851415&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;uticdmarceau2007@...&lt;/a&gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26851415&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;uticdmarceau2007@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; UTF16 strings are wide character strings.  A UTF16 character is a wide
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; character made of exactly 4 bytes.  wchar is 4 bytes == 4 chars in terms
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; of storage size.
&lt;br&gt;&lt;br&gt;I’d like to restate this is entirely wrong, and trying to defend such
&lt;br&gt;an incorrect statement just brings more confusion to the reader and
&lt;br&gt;disproves your self-proclaimed qualifications.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Historically, a byte(unsigned 8bit) to represent one char, but
&lt;br&gt;&amp;gt; later on it became redefined as an int internally which is 16bits.
&lt;br&gt;&lt;br&gt;No such thing. On the Windows platform, “later on” (early nineties,
&lt;br&gt;Win32) Microsoft switched to Unicode using 16-bit UTF-16 encoding
&lt;br&gt;(mapped to wchar_t), while in the rest of the software world (AFAIK)
&lt;br&gt;the switch was to using variable-length UTF-8 encoding or fixed-length
&lt;br&gt;32-bit UTF-32 encoding (also mapped to wchar_t).
&lt;br&gt;&lt;br&gt;Besides, the size of an int is not 16 bits. Not by definition, nor by
&lt;br&gt;current usage, since nowadays int is most often 32 bits in size.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; So 16bits are actually used for each character typed char in win32, but
&lt;br&gt;&amp;gt; the name utf8 stuck.
&lt;br&gt;&lt;br&gt;Nothing stuck: Win32 uses UTF-16 for Unicode text. That’s why it uses
&lt;br&gt;16 bits per code point (you don’t call them “characters”...), except
&lt;br&gt;surrogates requiring two UTF-16 characters (...and here’s why).
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; So when you take two char types to make a UTF16 Unicode character, you
&lt;br&gt;&amp;gt; get an int plus another int which is actually 16bits+16bit = 32bits/8 =
&lt;br&gt;&amp;gt; 4bytes.
&lt;br&gt;&amp;gt; So one wide char was defined in the headers as WORD = 32 bits.
&lt;br&gt;&amp;gt; WORD = WCHAR = wchar
&lt;br&gt;&amp;gt; == 2 16-bit char(i.e. assember 8088 ax
&lt;br&gt;&amp;gt; == 4 8-bit char(i.e. 8088 assembler al/ah)
&lt;br&gt;&lt;br&gt;This is complete nonsense, starting from the fact that WORD in Win32
&lt;br&gt;is a typedef to unsigned short, so (still in Win32) 16 bits, not 32.
&lt;br&gt;Furthermore, the fact that WORD happens to be the same size as wchar_t
&lt;br&gt;(in Win32 only!) is merely a coincidence.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Sorry, but here you are completely wrong. The &amp;quot;16&amp;quot; in the name
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;UTF-16&amp;quot; isn't just a random number. What might it mean? Think!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm actually correct. Given the context of what I was talking about.
&lt;br&gt;&amp;gt; UTF8 is all about 8-bit char
&lt;br&gt;&amp;gt; UTF16 is worth 4 8-bit char.
&lt;br&gt;&lt;br&gt;No, you’re far from being correct in any context, as I pointed out
&lt;br&gt;above. Please read the relevant documentation before spreading such
&lt;br&gt;inaccurate and incorrect information.
&lt;br&gt;&lt;br&gt;Here’s a few starting points:
&lt;br&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Unicode&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://en.wikipedia.org/wiki/Unicode&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://unicode.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://unicode.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;What’s an encoding’s “worth”, anyway?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Again, he's using C++, and using Glib::ustring is the recommended way to
&lt;br&gt;&amp;gt; go for internationalization in a platform-independant manner.
&lt;br&gt;&lt;br&gt;Recommended by who?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;I don’t mean to be mean, but I really felt the urge to correct such
&lt;br&gt;gross inaccuracies.
&lt;br&gt;--
&lt;br&gt;R
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26851415&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26851415.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26849638</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-18T12:57:16Z</published>
	<updated>2009-12-18T12:57:16Z</updated>
	<author>
		<name>David Marceau</name>
	</author>
	<content type="html">Tor Lillqvist wrote:
&lt;br&gt;&amp;gt;&amp;gt; A utf8 character is a sequence of bytes to describe a single character
&lt;br&gt;&amp;gt;&amp;gt; in any language.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Well... yes and no. There is no such thing as a &amp;quot;UTF-8 character&amp;quot;.
&lt;br&gt;&amp;gt; What you mean is the UTF-8 representation of a Unicode code point
&lt;br&gt;&amp;gt; (&amp;quot;character&amp;quot;).
&lt;br&gt;I don't mean to flame, but I need to tell you there is such a thing as a
&lt;br&gt;UTF-8 character. &amp;nbsp;Take a language like Chinese and here is one Chinese
&lt;br&gt;character in utf8 that follows:
&lt;br&gt;马
&lt;br&gt;Tada, a UTF-8 Character. &amp;nbsp;It actually is represented by more than one
&lt;br&gt;byte in terms of memory storage size.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; What distinguishes a utf8 string from a normal std::string is that it's
&lt;br&gt;&amp;gt;&amp;gt; storage size may in fact be larger than the actually displayed to
&lt;br&gt;&amp;gt;&amp;gt; console/gui string.
&lt;br&gt;It actually is represented by more than one byte in terms of memory
&lt;br&gt;storage size. &amp;nbsp;This number is very different from the
&lt;br&gt;Glib::ustring::length() service which is the length of characters that
&lt;br&gt;you see displayed in a console.
&lt;br&gt;&lt;br&gt;In order for you to see the actual number of bytes used in memory
&lt;br&gt;storage, you would do something like ustring::bytes() and
&lt;br&gt;bytearray::size(). &amp;nbsp;But like I said Glib::ustring classes are helping
&lt;br&gt;you by hiding all of this noise to focus on the real task at hand. &amp;nbsp;This
&lt;br&gt;is what makes C++ relevant and Glib relevant contrary to what you said.
&lt;br&gt;&lt;br&gt;&amp;gt; What makes you think he is interested in using GLib?
&lt;br&gt;&lt;br&gt;Mr. Smorigo mentioned he was using C++: &amp;quot;int RecFile::openFile&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Which is a quite confusing way to say it, what you mean is simply &amp;quot;a
&lt;br&gt;&amp;gt; character might take one or several bytes&amp;quot;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;Although a U.S. character is represented by one byte,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;U.S. character&amp;quot; ? You probably mean US-ASCII. But then, the same
&lt;br&gt;&amp;gt; holds for strings in other single-byte charsets like the ISO8859-*
&lt;br&gt;&amp;gt; ones. Nothing &amp;quot;U.S.&amp;quot; in them..
&lt;br&gt;Mr. Tor, I need to correct you. &amp;nbsp;It is not a confusing way to say it.
&lt;br&gt;It is simply another way to express it in order look at it with another
&lt;br&gt;perspective. &amp;nbsp;If you read the docs, you may understand it at first
&lt;br&gt;glance, but their are others who may not. &amp;nbsp;I am only re-expressing it to
&lt;br&gt;help them visualize it another way: distinguish following aspects of
&lt;br&gt;internationalizing strings: 1)storage size in terms of bytes 2)length of
&lt;br&gt;the displayed string 3)conversion services available in win32,
&lt;br&gt;4)conversion services available in POSIX(unix/posix/linux/ibm) via C or
&lt;br&gt;C++. &amp;nbsp;That's it.
&lt;br&gt;&lt;br&gt;In fact, Mr. Smorigo just took my advice because he understood my train
&lt;br&gt;of thought.
&lt;br&gt;&amp;gt; The Glib::locale_from_utf8 is perfect! I convert the string
&lt;br&gt;&amp;gt; and then send to the stdout. The receiver get the string and use
&lt;br&gt;&amp;gt; fopen_s to open it. it WORKED!!
&lt;br&gt;&lt;br&gt;You're welcome Mr. Smorigo.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; a Chinese or Japanese character may be represented by two or more bytes.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; No need to go that &amp;quot;exotic&amp;quot;, even fully acceptable English words like
&lt;br&gt;&amp;gt; façade and séance are spelled with non-ASCII letters. Not to mention
&lt;br&gt;&amp;gt; all other European languages.
&lt;br&gt;There is a need to go exotic as you say because, utf8 is the way to go.
&lt;br&gt;&amp;nbsp;The sooner you adapt, the less headaches you'll have. &amp;nbsp;It's the only
&lt;br&gt;encoding format you can use to display all known language characters
&lt;br&gt;into one html page without display issues.
&lt;br&gt;That's why I set my encoding in the email/web/whatever to utf8.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; UTF16 strings are wide character strings. &amp;nbsp;A UTF16 character is a wide
&lt;br&gt;&amp;gt;&amp;gt; character made of exactly 4 bytes. &amp;nbsp;wchar is 4 bytes == 4 chars in terms
&lt;br&gt;&amp;gt;&amp;gt; of storage size.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;Please try your best not to get hung up on my reexpression. &amp;nbsp;It's not
&lt;br&gt;constructive. &amp;nbsp;To reexpress it UTF8 means 8bit representation mechanisms
&lt;br&gt;and UTF16 mean 16bit representation mechanisms for the same thing:
&lt;br&gt;UNICODE. &amp;nbsp;Historically, a byte(unsigned 8bit) to represent one char, but
&lt;br&gt;later on it became redefined as an int internally which is 16bits.
&lt;br&gt;So 16bits are actually used for each character typed char in win32, but
&lt;br&gt;the name utf8 stuck.
&lt;br&gt;So when you take two char types to make a UTF16 Unicode character, you
&lt;br&gt;get an int plus another int which is actually 16bits+16bit = 32bits/8 =
&lt;br&gt;4bytes.
&lt;br&gt;So one wide char was defined in the headers as WORD = 32 bits.
&lt;br&gt;WORD = WCHAR = wchar
&lt;br&gt;== 2 16-bit char(i.e. assember 8088 ax
&lt;br&gt;== 4 8-bit char(i.e. 8088 assembler al/ah)
&lt;br&gt;&amp;gt; Sorry, but here you are completely wrong. The &amp;quot;16&amp;quot; in the name
&lt;br&gt;&amp;gt; &amp;quot;UTF-16&amp;quot; isn't just a random number. What might it mean? Think!
&lt;br&gt;I'm actually correct. Given the context of what I was talking about.
&lt;br&gt;UTF8 is all about 8-bit char
&lt;br&gt;UTF16 is worth 4 8-bit char.
&lt;br&gt;&lt;br&gt;So Mr. Tor, you are an expert and I am the first to acknowledge it, but
&lt;br&gt;PLEASE focus on helping rather trying to discredit my technical ability.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Now here is my recommendation:
&lt;br&gt;&amp;gt;&amp;gt; Use Glib::ustring for all your strings instead of the std::string.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What makes you think he is interested in using GLib?
&lt;br&gt;Rather than questioning my ability to read Mr. Smorigo's mind, please
&lt;br&gt;understand Mr. Lillqvist, I'm providing just one way to fix the problem
&lt;br&gt;quickly. &amp;nbsp;There are other ways, but this one is good.
&lt;br&gt;Again, he's using C++, and using Glib::ustring is the recommended way to
&lt;br&gt;go for internationalization in a platform-independant manner. &amp;nbsp;Besides
&lt;br&gt;it doesn't need a pre-compiler like moc which is a bonus.
&lt;br&gt;In fact he did use it to fix his problem as I mentioned above.
&lt;br&gt;&lt;br&gt;Have a good day, and hopefully one day we could talk about something
&lt;br&gt;else over a beer instead.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;David Marceau
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26849638&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26849638.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26848762</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-18T11:44:57Z</published>
	<updated>2009-12-18T11:44:57Z</updated>
	<author>
		<name>P.F.Smorigo</name>
	</author>
	<content type="html">Genial!!! The Glib::locale_from_utf8 is perfect! I convert the string
&lt;br&gt;and then send to the stdout. The receiver get the string and use
&lt;br&gt;fopen_s to open it. it WORKED!!
&lt;br&gt;&lt;br&gt;Thanks for all!
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26848762&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26848762.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26847244</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-18T09:56:06Z</published>
	<updated>2009-12-18T09:56:06Z</updated>
	<author>
		<name>Tor Lillqvist</name>
	</author>
	<content type="html">&amp;gt; A utf8 character is a sequence of bytes to describe a single character
&lt;br&gt;&amp;gt; in any language.
&lt;br&gt;&lt;br&gt;Well... yes and no. There is no such thing as a &amp;quot;UTF-8 character&amp;quot;.
&lt;br&gt;What you mean is the UTF-8 representation of a Unicode code point
&lt;br&gt;(&amp;quot;character&amp;quot;).
&lt;br&gt;&lt;br&gt;&amp;gt; What distinguishes a utf8 string from a normal std::string is that it's
&lt;br&gt;&amp;gt; storage size may in fact be larger than the actually displayed to
&lt;br&gt;&amp;gt; console/gui string.
&lt;br&gt;&lt;br&gt;Which is a quite confusing way to say it, what you mean is simply &amp;quot;a
&lt;br&gt;character might take one or several bytes&amp;quot;.
&lt;br&gt;&lt;br&gt;&amp;gt; Although a U.S. character is represented by one byte,
&lt;br&gt;&lt;br&gt;&amp;quot;U.S. character&amp;quot; ? You probably mean US-ASCII. But then, the same
&lt;br&gt;holds for strings in other single-byte charsets like the ISO8859-*
&lt;br&gt;ones. Nothing &amp;quot;U.S.&amp;quot; in them..
&lt;br&gt;&lt;br&gt;&amp;gt; a Chinese or Japanese character may be represented by two or more bytes.
&lt;br&gt;&lt;br&gt;No need to go that &amp;quot;exotic&amp;quot;, even fully acceptable English words like
&lt;br&gt;façade and séance are spelled with non-ASCII letters. Not to mention
&lt;br&gt;all other European languages.
&lt;br&gt;&lt;br&gt;&amp;gt; UTF16 strings are wide character strings.  A UTF16 character is a wide
&lt;br&gt;&amp;gt; character made of exactly 4 bytes.  wchar is 4 bytes == 4 chars in terms
&lt;br&gt;&amp;gt; of storage size.
&lt;br&gt;&lt;br&gt;Sorry, but here you are completely wrong. The &amp;quot;16&amp;quot; in the name
&lt;br&gt;&amp;quot;UTF-16&amp;quot; isn't just a random number. What might it mean? Think!
&lt;br&gt;&lt;br&gt;&amp;gt; Now here is my recommendation:
&lt;br&gt;&amp;gt; Use Glib::ustring for all your strings instead of the std::string.
&lt;br&gt;&lt;br&gt;What makes you think he is interested in using GLib?
&lt;br&gt;&lt;br&gt;--tml
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26847244&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26847244.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26846911</id>
	<title>Re: What license is mingwm10.dll?</title>
	<published>2009-12-18T09:33:00Z</published>
	<updated>2009-12-18T09:33:00Z</updated>
	<author>
		<name>Andrew Fleenor</name>
	</author>
	<content type="html">&amp;gt; From: Katarzyna Matylla &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26846911&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;erina@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26846911&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mingw-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Sent: Fri, December 18, 2009 8:03:39 AM
&lt;br&gt;&amp;gt; Subject: [Mingw-users] What license is mingwm10.dll?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I have a question - as in the topic: is mingwm10.dll GLP'ed, or is it on 
&lt;br&gt;&amp;gt; some more liberal license or public domain (is it a part of the 
&lt;br&gt;&amp;gt; runtime?)? May I distribute this file with in my commercial program?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I know it's probably been answered (I have searched the archive and 
&lt;br&gt;&amp;gt; site), but I'm not sure if I understand the answers I have found, so I 
&lt;br&gt;&amp;gt; ask for a simple, yes/no answer, because I want to be sure and I need to 
&lt;br&gt;&amp;gt; have the program ready on Tuesday.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; And if I cannot use it, could you explain how to get rid of the 
&lt;br&gt;&amp;gt; dependency (I'm using MinGW with Eclipse, on WinXP)? I don't need 
&lt;br&gt;&amp;gt; exceptions that much.
&lt;/div&gt;&lt;br&gt;Link the main program at least with the option -static-libgcc. This should remove any runtime dependencies. You might need to re-link other libraries you use with -static-libgcc as well, but if the link goes without errors you're probably fine. Then e-mail it to someone else with no compilers on their machine to test it. Good luck.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26846911&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What-license-is-mingwm10.dll--tp26845651p26846911.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26846725</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-18T09:25:05Z</published>
	<updated>2009-12-18T09:25:05Z</updated>
	<author>
		<name>David Marceau</name>
	</author>
	<content type="html">Paulo Flabiano Smorigo wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi everyone,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks for the support. It's been very helpful!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm using CreateProcessWithPipes from Windows API. Now I discovered
&lt;br&gt;&amp;gt; that the client side (the process that get the line from the stdin) is
&lt;br&gt;&amp;gt; getting the code in utf8 format. Now the problem is that the _wfopen_s
&lt;br&gt;&amp;gt; is returning a code 22 (Invalid argument).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The code that I'm using:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; int RecFile::openFile(const wchar_t *fileName)
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; 	errno_t err = _wfopen_s(&amp;recFile, fileName, L&amp;quot;wb&amp;quot;);
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; 
&lt;/div&gt;**************************
&lt;br&gt;NOISE
&lt;br&gt;****************************
&lt;br&gt;&lt;br&gt;&amp;gt; If I understood correctly, the wchar_t stores the string in utf8 format, is it?
&lt;br&gt;NO, wchar_t is not a utf8 string.
&lt;br&gt;A utf8 character is a sequence of bytes to describe a single character
&lt;br&gt;in any language. &amp;nbsp;A utf8 string is typed as char * and not wchar *.
&lt;br&gt;What distinguishes a utf8 string from a normal std::string is that it's
&lt;br&gt;storage size may in fact be larger than the actually displayed to
&lt;br&gt;console/gui string. &amp;nbsp;Although a U.S. character is represented by one
&lt;br&gt;byte, a Chinese or Japanese character may be represented by two or more
&lt;br&gt;bytes. The internationalization api's are doing their best to hide this
&lt;br&gt;noise. &amp;nbsp;UTF8 is the UNIX/IBM/LINUX approach. &amp;nbsp;THE WEB and XML has
&lt;br&gt;standardized on UTF8.
&lt;br&gt;&lt;br&gt;UTF16 strings are wide character strings. &amp;nbsp;A UTF16 character is a wide
&lt;br&gt;character made of exactly 4 bytes. &amp;nbsp;wchar is 4 bytes == 4 chars in terms
&lt;br&gt;of storage size. &amp;nbsp;UTF16 is the MICROSOFT approach just because they can$$$.
&lt;br&gt;&lt;br&gt;********************************
&lt;br&gt;What you want
&lt;br&gt;********************************
&lt;br&gt;fileName must be wchar_t in order for _wfopen_s() to compile correctly.
&lt;br&gt;So I imagine you used a std:string object that you passed to
&lt;br&gt;RecFile::openFile().
&lt;br&gt;&lt;br&gt;Now here is my recommendation:
&lt;br&gt;Use Glib::ustring for all your strings instead of the std::string.
&lt;br&gt;&lt;br&gt;std::string somestdstring;
&lt;br&gt;Glib::ustring someglibFileName(somestdstring);
&lt;br&gt;&lt;br&gt;//using this service
&lt;br&gt;//std::string Glib::locale_from_utf8(const Glib::ustring&amp; utf8_string)
&lt;br&gt;int blah = RecFile::openFile(locale_from_utf8(someglibFileName).c_str());
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;*******************************
&lt;br&gt;NOISE
&lt;br&gt;&lt;br&gt;READ:
&lt;br&gt;&lt;a href=&quot;http://library.gnome.org/devel/glibmm/stable/classGlib_1_1ustring.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://library.gnome.org/devel/glibmm/stable/classGlib_1_1ustring.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://library.gnome.org/devel/gtkmm-tutorial/unstable/chapter-internationalization.html.en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://library.gnome.org/devel/gtkmm-tutorial/unstable/chapter-internationalization.html.en&lt;/a&gt;&lt;br&gt;&lt;br&gt;***********************************
&lt;br&gt;MORE NOISE
&lt;br&gt;&lt;br&gt;If all else fails you may try these, but you shouldn't have to because
&lt;br&gt;the above Glib::ustring provides similar platform-independent services.
&lt;br&gt;&lt;br&gt;std::wstring s2ws(const std::string&amp; s)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp;int len;
&lt;br&gt;&amp;nbsp;int slength = (int)s.length() + 1;
&lt;br&gt;&amp;nbsp;len = MultiByteToWideChar(CP_ACP, 0, s.c_str(), slength, 0, 0);
&lt;br&gt;&amp;nbsp;wchar_t* buf = new wchar_t[len];
&lt;br&gt;&amp;nbsp;MultiByteToWideChar(CP_ACP, 0, s.c_str(), slength, buf, len);
&lt;br&gt;&amp;nbsp;std::wstring r(buf);
&lt;br&gt;&amp;nbsp;delete[] buf;
&lt;br&gt;&amp;nbsp;return r;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;std::string s;
&lt;br&gt;&lt;br&gt;#ifdef UNICODE
&lt;br&gt;std::wstring stemp = s2ws(s); // Temporary buffer is required
&lt;br&gt;LPCWSTR result = stemp.c_str();
&lt;br&gt;#else
&lt;br&gt;LPCWSTR result = s.c_str();
&lt;br&gt;#endif
&lt;br&gt;&lt;br&gt;std::string ws2s(const std::wstring&amp; s)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp;int len;
&lt;br&gt;&amp;nbsp;int slength = (int)s.length() + 1;
&lt;br&gt;&amp;nbsp;len = WideCharToMultiByte(CP_ACP, 0, s.c_str(), slength, 0, 0, 0, 0);
&lt;br&gt;&amp;nbsp;char* buf = new char[len];
&lt;br&gt;&amp;nbsp;WideCharToMultiByte(CP_ACP, 0, s.c_str(), slength, buf, len, 0, 0);
&lt;br&gt;&amp;nbsp;std::string r(buf);
&lt;br&gt;&amp;nbsp;delete[] buf;
&lt;br&gt;&amp;nbsp;return r;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;OR
&lt;br&gt;&lt;br&gt;std::wstring s2ws (const std::string&amp; s)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; std::wstring ws;
&lt;br&gt;&amp;nbsp; &amp;nbsp; ws.assign (s.begin (), s.end ());
&lt;br&gt;&amp;nbsp; &amp;nbsp; return ws;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;std::string ws2s (const std::wstring&amp; ws)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; std::wstring s;
&lt;br&gt;&amp;nbsp; &amp;nbsp; s.assign (ws.begin (), ws.end ());
&lt;br&gt;&amp;nbsp; &amp;nbsp; return s;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26846725&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26846725.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26846401</id>
	<title>Re: What license is mingwm10.dll?</title>
	<published>2009-12-18T08:59:29Z</published>
	<updated>2009-12-18T08:59:29Z</updated>
	<author>
		<name>Diego Iastrubni-4</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Dec 18, 2009 at 6:32 PM, Greg Chicares &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26846401&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gchicares@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;


I see no license here:&lt;br&gt;
  &lt;a href=&quot;http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/mthr.c?annotate=1.2&amp;amp;cvsroot=src&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/mthr.c?annotate=1.2&amp;amp;cvsroot=src&lt;/a&gt;&lt;br&gt;
so I&amp;#39;d assume that this governs:&lt;br&gt;
  &lt;a href=&quot;http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/DISCLAIMER?annotate=1.2&amp;amp;cvsroot=src&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/DISCLAIMER?annotate=1.2&amp;amp;cvsroot=src&lt;/a&gt;&lt;br&gt;


  * This file has no copyright assigned and is placed in the Public Domain.&lt;br&gt;
  * This file is a part of the mingw-runtime package.&lt;br&gt;
That&amp;#39;s consonant with:&lt;br&gt;
  &lt;a href=&quot;http://mingw.org/license&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://mingw.org/license&lt;/a&gt;&lt;br&gt;
| MinGW runtime: The MinGW base runtime package has been placed in the&lt;br&gt;
| public domain, and is not governed by copyright. This basically means&lt;br&gt;
| that you can do what you like with the code.&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;br&gt;That just means that this specific code is not licensed. At all. Should be trivial to as the two developers (am I reading correct the code..?) to explicitly mention the license. &lt;br&gt;

&lt;br&gt;Greg, this is by far, more &amp;quot;problematic&amp;quot; then having un-properly licensed code at all.  &lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26846401&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What-license-is-mingwm10.dll--tp26845651p26846401.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26846471</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-18T08:48:30Z</published>
	<updated>2009-12-18T08:48:30Z</updated>
	<author>
		<name>JonY-6</name>
	</author>
	<content type="html">On 12/19/2009 00:45, JonY wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 12/19/2009 00:45, Paulo Flabiano Smorigo wrote:
&lt;br&gt;&amp;gt;&amp;gt; Correct... 61 is for 'a', C3 A7 is for 'ç', C3 A3 is for 'ã' and 6F
&lt;br&gt;&amp;gt;&amp;gt; for 'o'.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; use MultiByteToWideChar to convert from utf-8 to win32 compatible text.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; See: &amp;lt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/dd319072%28VS.85%29.aspx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://msdn.microsoft.com/en-us/library/dd319072%28VS.85%29.aspx&lt;/a&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;I meant win32 definitions of wide strings.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26846471&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26846471.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26846430</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-18T08:45:13Z</published>
	<updated>2009-12-18T08:45:13Z</updated>
	<author>
		<name>JonY-6</name>
	</author>
	<content type="html">On 12/19/2009 00:45, Paulo Flabiano Smorigo wrote:
&lt;br&gt;&amp;gt; Correct... 61 is for 'a', C3 A7 is for 'ç', C3 A3 is for 'ã' and 6F for 'o'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Hi,
&lt;br&gt;use MultiByteToWideChar to convert from utf-8 to win32 compatiple text.
&lt;br&gt;&lt;br&gt;See: &amp;lt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/dd319072%28VS.85%29.aspx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://msdn.microsoft.com/en-us/library/dd319072%28VS.85%29.aspx&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26846430&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26846430.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26846218</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-18T08:45:05Z</published>
	<updated>2009-12-18T08:45:05Z</updated>
	<author>
		<name>P.F.Smorigo</name>
	</author>
	<content type="html">Correct... 61 is for &amp;#39;a&amp;#39;, C3 A7 is for &amp;#39;ç&amp;#39;, C3 A3 is for &amp;#39;ã&amp;#39; and 6F for &amp;#39;o&amp;#39;.&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26846218&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26846218.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26846145</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-18T08:39:51Z</published>
	<updated>2009-12-18T08:39:51Z</updated>
	<author>
		<name>Greg Chicares-2</name>
	</author>
	<content type="html">On 2009-12-18 16:10Z, Paulo Flabiano Smorigo wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Looking at the bytes, the word &amp;quot;ação&amp;quot; came as 61 C3 A7 C3 A3 6F. So,
&lt;br&gt;&amp;gt; this is compatible with wchar_t?
&lt;br&gt;&lt;br&gt;61 is ASCII 'a', and 6f is ASCII 'o', so I'd guess this is UTF-8.
&lt;br&gt;But wchar_t would be UTF-16.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26846145&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26846145.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26846028</id>
	<title>Re: What license is mingwm10.dll?</title>
	<published>2009-12-18T08:32:43Z</published>
	<updated>2009-12-18T08:32:43Z</updated>
	<author>
		<name>Greg Chicares-2</name>
	</author>
	<content type="html">On 2009-12-18 16:03Z, Katarzyna Matylla wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; [...] is mingwm10.dll GLP'ed, or is it on 
&lt;br&gt;&amp;gt; some more liberal license or public domain (is it a part of the 
&lt;br&gt;&amp;gt; runtime?)? May I distribute this file with in my commercial program?
&lt;br&gt;&lt;br&gt;I see no license here:
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/mthr.c?annotate=1.2&amp;cvsroot=src&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/mthr.c?annotate=1.2&amp;cvsroot=src&lt;/a&gt;&lt;br&gt;so I'd assume that this governs:
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/DISCLAIMER?annotate=1.2&amp;cvsroot=src&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/DISCLAIMER?annotate=1.2&amp;cvsroot=src&lt;/a&gt;&lt;br&gt;&amp;nbsp; * This file has no copyright assigned and is placed in the Public Domain.
&lt;br&gt;&amp;nbsp; * This file is a part of the mingw-runtime package.
&lt;br&gt;That's consonant with:
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://mingw.org/license&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mingw.org/license&lt;/a&gt;&lt;br&gt;| MinGW runtime: The MinGW base runtime package has been placed in the
&lt;br&gt;| public domain, and is not governed by copyright. This basically means
&lt;br&gt;| that you can do what you like with the code.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26846028&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What-license-is-mingwm10.dll--tp26845651p26846028.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26845753</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-18T08:10:32Z</published>
	<updated>2009-12-18T08:10:32Z</updated>
	<author>
		<name>P.F.Smorigo</name>
	</author>
	<content type="html">Hi again,
&lt;br&gt;&lt;br&gt;Looking at the bytes, the word &amp;quot;ação&amp;quot; came as 61 C3 A7 C3 A3 6F. So,
&lt;br&gt;this is compatible with wchar_t?
&lt;br&gt;&lt;br&gt;The wfopen_s understand it?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Paulo
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26845753&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26845753.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26845651</id>
	<title>What license is mingwm10.dll?</title>
	<published>2009-12-18T08:03:39Z</published>
	<updated>2009-12-18T08:03:39Z</updated>
	<author>
		<name>Katarzyna Matylla</name>
	</author>
	<content type="html">Hello everyone, I'm new on this list. And pretty new in serious 
&lt;br&gt;programming, too.
&lt;br&gt;&lt;br&gt;I have a question - as in the topic: is mingwm10.dll GLP'ed, or is it on 
&lt;br&gt;some more liberal license or public domain (is it a part of the 
&lt;br&gt;runtime?)? May I distribute this file with in my commercial program?
&lt;br&gt;&lt;br&gt;I know it's probably been answered (I have searched the archive and 
&lt;br&gt;site), but I'm not sure if I understand the answers I have found, so I 
&lt;br&gt;ask for a simple, yes/no answer, because I want to be sure and I need to 
&lt;br&gt;have the program ready on Tuesday.
&lt;br&gt;&lt;br&gt;And if I cannot use it, could you explain how to get rid of the 
&lt;br&gt;dependency (I'm using MinGW with Eclipse, on WinXP)? I don't need 
&lt;br&gt;exceptions that much.
&lt;br&gt;&lt;br&gt;Thank you very much in advance and sorry for my poor English, I'm not a 
&lt;br&gt;native speaker.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Katarzyna Matylla
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26845651&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What-license-is-mingwm10.dll--tp26845651p26845651.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26844989</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-18T07:22:05Z</published>
	<updated>2009-12-18T07:22:05Z</updated>
	<author>
		<name>Raffaello D. Di Napoli</name>
	</author>
	<content type="html">2009/12/18 Tor Lillqvist &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26844989&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tml@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; (Actually, I guess one should say &amp;quot;Unicode code point&amp;quot; instead of
&lt;br&gt;&amp;gt; &amp;quot;Unicode character&amp;quot;?)
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://unicode.org/glossary/#code_point&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://unicode.org/glossary/#code_point&lt;/a&gt;&lt;br&gt;&lt;br&gt;I guess that would be a ”yes”?
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;R
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26844989&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26844989.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26843726</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-18T05:47:49Z</published>
	<updated>2009-12-18T05:47:49Z</updated>
	<author>
		<name>Tor Lillqvist</name>
	</author>
	<content type="html">&amp;gt; I'm using CreateProcessWithPipes from Windows API.
&lt;br&gt;&lt;br&gt;Huh? There is no such API.
&lt;br&gt;&lt;br&gt;&amp;gt; If I understood correctly, the wchar_t stores the string in utf8 format, is it?
&lt;br&gt;&lt;br&gt;Nope. On no platforms I know wchar_t would be UTF-8. That would be rather odd.
&lt;br&gt;&lt;br&gt;On Windows, a &amp;quot;wide&amp;quot; or wchar_t string is UTF-16 (one 16 bit integer
&lt;br&gt;(little endian on Windows) per wchar_t &amp;quot;element&amp;quot;, with those rare
&lt;br&gt;Unicode characters that are outside the BMP thus requiring a so-called
&lt;br&gt;surrogate pair, &amp;nbsp;taking two wchar_t elements). On modern Unixes it is
&lt;br&gt;UCS-4 (32 bits, one Unicode character per wchar_t element).
&lt;br&gt;&lt;br&gt;UTF-8 consists of *bytes* in a well-defined platform-independent
&lt;br&gt;sequence, so it can be stored in plain C char strings just fine.
&lt;br&gt;&lt;br&gt;(Actually, I guess one should say &amp;quot;Unicode code point&amp;quot; instead of
&lt;br&gt;&amp;quot;Unicode character&amp;quot;?)
&lt;br&gt;&lt;br&gt;--tml
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26843726&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26843726.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26843342</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-18T05:22:57Z</published>
	<updated>2009-12-18T05:22:57Z</updated>
	<author>
		<name>P.F.Smorigo</name>
	</author>
	<content type="html">Hi everyone,
&lt;br&gt;&lt;br&gt;Thanks for the support. It's been very helpful!
&lt;br&gt;&lt;br&gt;I'm using CreateProcessWithPipes from Windows API. Now I discovered
&lt;br&gt;that the client side (the process that get the line from the stdin) is
&lt;br&gt;getting the code in utf8 format. Now the problem is that the _wfopen_s
&lt;br&gt;is returning a code 22 (Invalid argument).
&lt;br&gt;&lt;br&gt;The code that I'm using:
&lt;br&gt;&lt;br&gt;int RecFile::openFile(const wchar_t *fileName)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; errno_t err = _wfopen_s(&amp;recFile, fileName, L&amp;quot;wb&amp;quot;);
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;If I understood correctly, the wchar_t stores the string in utf8 format, is it?
&lt;br&gt;&lt;br&gt;Thanks in advance,
&lt;br&gt;Paulo Flabiano Smorigo
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26843342&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26843342.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26836499</id>
	<title>Re: Here are the mingw compile experience notes</title>
	<published>2009-12-17T14:55:05Z</published>
	<updated>2009-12-17T14:55:05Z</updated>
	<author>
		<name>Tor Lillqvist</name>
	</author>
	<content type="html">&amp;gt;&amp;gt; But I thought what you wanted to do was to build a GTK+ *application*
&lt;br&gt;&amp;gt;&amp;gt; (a gtkmm one), not GTK+ itself?
&lt;br&gt;&amp;gt; These links have the words cygwin inside them, but they seem to discuss
&lt;br&gt;&amp;gt; mingw and no cygwin at all:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://kemovitra.blogspot.com/2009/06/setting-up-cygwin-for-software.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kemovitra.blogspot.com/2009/06/setting-up-cygwin-for-software.html&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://kemovitra.blogspot.com/2009/06/cygwin-tutorial-compiling-gtk-2162-for.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kemovitra.blogspot.com/2009/06/cygwin-tutorial-compiling-gtk-2162-for.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Hmm. There doesn't seem to be much actual communication of the
&lt;br&gt;old-fashioned &amp;quot;reply with something related to the question&amp;quot; sort
&lt;br&gt;going on here. I give up.
&lt;br&gt;&lt;br&gt;--tml
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26836499&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-build-Mingw-Source-files-in-windows-tp26715460p26836499.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26836373</id>
	<title>Re: Here are the mingw compile experience notes</title>
	<published>2009-12-17T14:46:59Z</published>
	<updated>2009-12-17T14:46:59Z</updated>
	<author>
		<name>David Marceau</name>
	</author>
	<content type="html">&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26836373&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;uticdmarceau2007@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt; Tor Lillqvist wrote:
&lt;br&gt;&amp;gt; These links have the words cygwin inside them, but they seem to discuss
&lt;br&gt;&amp;gt; mingw and no cygwin at all:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://kemovitra.blogspot.com/2009/06/setting-up-cygwin-for-software.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kemovitra.blogspot.com/2009/06/setting-up-cygwin-for-software.html&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://kemovitra.blogspot.com/2009/06/cygwin-tutorial-compiling-gtk-2162-for.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kemovitra.blogspot.com/2009/06/cygwin-tutorial-compiling-gtk-2162-for.html&lt;/a&gt;&lt;br&gt;Oops I made a mistake with the two links. &amp;nbsp;Here are the correct ones:
&lt;br&gt;&lt;a href=&quot;http://kemovitra.blogspot.com/2008/01/installing-mingw-on-windows.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kemovitra.blogspot.com/2008/01/installing-mingw-on-windows.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://kemovitra.blogspot.com/2009/06/compiling-gtk-2-for-windows.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kemovitra.blogspot.com/2009/06/compiling-gtk-2-for-windows.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26836373&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-build-Mingw-Source-files-in-windows-tp26715460p26836373.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26835672</id>
	<title>GDBM and cross-compiling on Gentoo with crossdev/Portage</title>
	<published>2009-12-17T13:56:41Z</published>
	<updated>2009-12-17T13:56:41Z</updated>
	<author>
		<name>Bugzilla from ddrtist@gmail.com</name>
	</author>
	<content type="html">I try to maintain this Wiki page for Gentoo:
&lt;br&gt;&lt;a href=&quot;http://en.gentoo-wiki.com/wiki/Mingw&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://en.gentoo-wiki.com/wiki/Mingw&lt;/a&gt;&amp;nbsp;. Relevant section is
&lt;br&gt;&lt;a href=&quot;http://en.gentoo-wiki.com/wiki/Mingw#Using_Portage&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://en.gentoo-wiki.com/wiki/Mingw#Using_Portage&lt;/a&gt;&amp;nbsp;. This is definitely the best
&lt;br&gt;way to do package management on Gentoo even for this ROOT.
&lt;br&gt;&lt;br&gt;I do strongly want to keep some USE flags that I use (some would not be used for
&lt;br&gt;Mingw such as ALSA) basically dependencies to link with automatically, such as
&lt;br&gt;zlib. The SDL example method is not the way I want to be getting my packages but
&lt;br&gt;I have had to resort to it because Portage often wants to do the following
&lt;br&gt;things even with i686-pc-mingw32 CHOST:
&lt;br&gt;&lt;br&gt;&amp;nbsp;- Link to X, ALSA, or anything else that is truly Linux/non-Windows only
&lt;br&gt;&amp;nbsp;- Build and link to GDBM
&lt;br&gt;&lt;br&gt;I have Googled a bit but I think the main problem right now is that the ebuild
&lt;br&gt;for GDBM does not handle for when the CHOST is i*86-pc-mingw32. I have heard
&lt;br&gt;about this building successfully and tried to find relevant patches. The log of
&lt;br&gt;the build for GDBM:
&lt;br&gt;&lt;br&gt;i686-pc-mingw32-gcc -c -I. -I. -march=k8 -msse3 -O2 -pipe gdbmfetch.c
&lt;br&gt;-DDLL_EXPORT -DPIC -o .libs/gdbmfetch.lo
&lt;br&gt;&lt;br&gt;gdbmopen.c: In function 'gdbm_open':
&lt;br&gt;&lt;br&gt;gdbmopen.c:171: error: storage size of 'flock' isn't known
&lt;br&gt;&lt;br&gt;gdbmopen.c:171: error: 'F_RDLCK' undeclared (first use in this function)
&lt;br&gt;&lt;br&gt;gdbmopen.c:171: error: (Each undeclared identifier is reported only once
&lt;br&gt;&lt;br&gt;gdbmopen.c:171: error: for each function it appears in.)
&lt;br&gt;&lt;br&gt;gdbmopen.c:171: error: 'F_SETLK' undeclared (first use in this function)
&lt;br&gt;&lt;br&gt;gdbmopen.c:177: error: storage size of 'flock' isn't known
&lt;br&gt;&lt;br&gt;gdbmopen.c:177: error: 'F_WRLCK' undeclared (first use in this function)
&lt;br&gt;&lt;br&gt;An overlay could easily be maintained for building a nice Mingw32 root to build
&lt;br&gt;packages from. Right now I cannot build my whole example application; Portage
&lt;br&gt;thinks a LOT of stuff is missing because it assumes this is just another chroot.
&lt;br&gt;&lt;br&gt;For example, if I try to emerge just audacity (which of course can build for
&lt;br&gt;Windows):
&lt;br&gt;&lt;br&gt;CBUILD=x86_64-pc-linux-gnu ROOT=/usr/i686-pc-mingw32 CHOST=i686-pc-mingw32
&lt;br&gt;emerge -pv libsdl
&lt;br&gt;&lt;br&gt;These are the packages that would be merged, in order:
&lt;br&gt;&lt;br&gt;Calculating dependencies... done!
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] sys-libs/gdbm-1.8.3-r3 to /usr/i686-pc-mingw32/ USE=&amp;quot;-berkdb&amp;quot; 0 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] app-misc/mime-types-8 to /usr/i686-pc-mingw32/ 12 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] app-misc/pax-utils-0.1.19 to /usr/i686-pc-mingw32/ USE=&amp;quot;-caps&amp;quot; 76 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] dev-libs/libffi-3.0.8 to /usr/i686-pc-mingw32/ USE=&amp;quot;-debug
&lt;br&gt;-static-libs -test&amp;quot; 706 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] dev-libs/libpthread-stubs-0.1 to /usr/i686-pc-mingw32/
&lt;br&gt;USE=&amp;quot;-debug&amp;quot; 190 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] sys-apps/sandbox-1.6-r2 to /usr/i686-pc-mingw32/ 300 kB
&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] sys-apps/attr-2.4.43 to /usr/i686-pc-mingw32/ USE=&amp;quot;nls&amp;quot; 115 kB
&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] dev-libs/popt-1.15 to /usr/i686-pc-mingw32/ USE=&amp;quot;nls&amp;quot; 0 kB
&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] dev-lang/tcl-8.5.7 to /usr/i686-pc-mingw32/ USE=&amp;quot;-debug
&lt;br&gt;-threads&amp;quot; 4,319 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] sys-libs/gpm-1.20.5 to /usr/i686-pc-mingw32/ USE=&amp;quot;(-selinux)&amp;quot;
&lt;br&gt;1,269 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-libs/libXdmcp-1.0.3 to /usr/i686-pc-mingw32/ USE=&amp;quot;-debug&amp;quot; 0
&lt;br&gt;kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-libs/libICE-1.0.6 to /usr/i686-pc-mingw32/ USE=&amp;quot;-debug
&lt;br&gt;-ipv6&amp;quot; 0 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-proto/inputproto-1.5.1 to /usr/i686-pc-mingw32/ 61 kB
&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] media-libs/audiofile-0.2.6-r4 to /usr/i686-pc-mingw32/ 371 kB
&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-proto/damageproto-1.2.0 to /usr/i686-pc-mingw32/ 52 kB
&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-proto/fixesproto-4.0 to /usr/i686-pc-mingw32/ 38 kB
&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-proto/printproto-1.0.4 to /usr/i686-pc-mingw32/ 49 kB
&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-proto/randrproto-1.3.1 to /usr/i686-pc-mingw32/ 0 kB
&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-proto/renderproto-0.11 to /usr/i686-pc-mingw32/ 0 kB
&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] sys-libs/ncurses-5.6-r2 to /usr/i686-pc-mingw32/ USE=&amp;quot;gpm
&lt;br&gt;unicode -debug -doc -minimal -nocxx -profile -trace&amp;quot; 2,353 kB
&lt;br&gt;&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] sys-apps/acl-2.2.47 to /usr/i686-pc-mingw32/ USE=&amp;quot;nls (-nfs)&amp;quot;
&lt;br&gt;152 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] virtual/libffi-0 to /usr/i686-pc-mingw32/ 0 kB
&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-libs/libxcb-1.4-r1 to /usr/i686-pc-mingw32/ USE=&amp;quot;-debug -doc
&lt;br&gt;(-selinux)&amp;quot; 299 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-libs/libdrm-2.4.15 to /usr/i686-pc-mingw32/ USE=&amp;quot;-debug&amp;quot; 0
&lt;br&gt;kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-proto/xextproto-7.0.5 to /usr/i686-pc-mingw32/ 79 kB
&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-libs/libX11-1.2.2 to /usr/i686-pc-mingw32/ USE=&amp;quot;xcb -debug
&lt;br&gt;-ipv6&amp;quot; 1,833 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] sys-libs/readline-6.0_p3 to /usr/i686-pc-mingw32/ 2,224 kB
&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] virtual/acl-0 to /usr/i686-pc-mingw32/ 0 kB
&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] app-shells/bash-4.0_p35 to /usr/i686-pc-mingw32/ USE=&amp;quot;net nls
&lt;br&gt;-afs -bashlogger -examples -mem-scramble -plugins -vanilla&amp;quot; 0 kB
&lt;br&gt;&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] sys-apps/sed-4.2 to /usr/i686-pc-mingw32/ USE=&amp;quot;acl nls -static&amp;quot;
&lt;br&gt;862 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] dev-lang/tk-8.5.7 to /usr/i686-pc-mingw32/ USE=&amp;quot;truetype -debug
&lt;br&gt;-threads&amp;quot; 3,692 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] dev-db/sqlite-3.6.21 to /usr/i686-pc-mingw32/ USE=&amp;quot;doc readline
&lt;br&gt;threadsafe -debug -fts3 -icu -soundex -tcl&amp;quot; 0 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] net-misc/rsync-3.0.6 to /usr/i686-pc-mingw32/ USE=&amp;quot;acl iconv
&lt;br&gt;-ipv6 -static -xattr&amp;quot; 761 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-libs/libXext-1.0.5 to /usr/i686-pc-mingw32/ USE=&amp;quot;-debug&amp;quot; 265
&lt;br&gt;kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-libs/libXfixes-4.0.4 to /usr/i686-pc-mingw32/ USE=&amp;quot;-debug&amp;quot; 0
&lt;br&gt;kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-libs/libXrender-0.9.5 to /usr/i686-pc-mingw32/ USE=&amp;quot;-debug&amp;quot;
&lt;br&gt;0 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-libs/libXrandr-1.3.0 to /usr/i686-pc-mingw32/ USE=&amp;quot;-debug&amp;quot;
&lt;br&gt;257 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-libs/libXxf86vm-1.0.2 to /usr/i686-pc-mingw32/ USE=&amp;quot;-debug&amp;quot;
&lt;br&gt;235 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-libs/libXi-1.2.1 to /usr/i686-pc-mingw32/ USE=&amp;quot;-debug&amp;quot; 274
&lt;br&gt;kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-libs/libXdamage-1.1.2 to /usr/i686-pc-mingw32/ USE=&amp;quot;-debug&amp;quot;
&lt;br&gt;0 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-libs/libXp-1.0.0 to /usr/i686-pc-mingw32/ USE=&amp;quot;-debug&amp;quot; 239
&lt;br&gt;kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] dev-libs/openssl-0.9.8l-r2 to /usr/i686-pc-mingw32/ USE=&amp;quot;(sse2)
&lt;br&gt;zlib -bindist -gmp -kerberos -test&amp;quot; 4,082 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] sys-apps/debianutils-3.1.3 to /usr/i686-pc-mingw32/
&lt;br&gt;USE=&amp;quot;-static&amp;quot; 130 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] app-admin/python-updater-0.7 to /usr/i686-pc-mingw32/ 7 kB
&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] sys-devel/gettext-0.17 to /usr/i686-pc-mingw32/ USE=&amp;quot;acl nls
&lt;br&gt;openmp -doc -emacs -nocxx&amp;quot; 11,369 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] app-admin/eselect-python-20090824 to /usr/i686-pc-mingw32/ 5 kB
&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] dev-lang/python-2.6.4 to /usr/i686-pc-mingw32/ USE=&amp;quot;doc examples
&lt;br&gt;gdbm ncurses readline sqlite ssl threads tk (wide-unicode) xml -berkdb -build
&lt;br&gt;-ipv6 -wininst&amp;quot; 0 kB
&lt;br&gt;&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] sys-apps/portage-2.1.6.13 to /usr/i686-pc-mingw32/ USE=&amp;quot;-build
&lt;br&gt;-doc -epydoc (-selinux)&amp;quot; LINGUAS=&amp;quot;-pl&amp;quot; 680 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] dev-python/python-docs-2.6.4 to /usr/i686-pc-mingw32/ 3,772 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] sys-apps/coreutils-7.5-r1 to /usr/i686-pc-mingw32/ USE=&amp;quot;acl nls
&lt;br&gt;-caps -gmp (-selinux) -static -vanilla -xattr&amp;quot; 9,731 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] sys-apps/file-5.03 to /usr/i686-pc-mingw32/ USE=&amp;quot;python&amp;quot; 602 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] app-admin/eselect-1.2.8 to /usr/i686-pc-mingw32/
&lt;br&gt;USE=&amp;quot;bash-completion -doc&amp;quot; 151 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] dev-libs/libxml2-2.7.3-r2 to /usr/i686-pc-mingw32/ USE=&amp;quot;doc
&lt;br&gt;examples python readline -debug -ipv6 -test&amp;quot; 4,678 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] app-misc/ca-certificates-20090709 to /usr/i686-pc-mingw32/ 151 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] media-libs/alsa-lib-1.0.20-r1 to /usr/i686-pc-mingw32/
&lt;br&gt;USE=&amp;quot;python -alisp -debug -doc&amp;quot; ALSA_PCM_PLUGINS=&amp;quot;adpcm alaw asym copy dmix
&lt;br&gt;dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
&lt;br&gt;mmap_emul mulaw multi null plug rate route share shm softvol&amp;quot; 777 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] app-admin/eselect-opengl-1.1.1-r2 to /usr/i686-pc-mingw32/ 58 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] sys-devel/libperl-5.8.8-r2 to /usr/i686-pc-mingw32/ USE=&amp;quot;gdbm
&lt;br&gt;-berkdb -debug -ithreads&amp;quot; 9,887 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] dev-lang/perl-5.8.8-r8 to /usr/i686-pc-mingw32/ USE=&amp;quot;gdbm
&lt;br&gt;-berkdb -build -debug -doc -ithreads -perlsuid&amp;quot; 0 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] app-admin/perl-cleaner-1.05 to /usr/i686-pc-mingw32/ 6 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] sys-apps/util-linux-2.16.1 to /usr/i686-pc-mingw32/ USE=&amp;quot;crypt
&lt;br&gt;loop-aes nls perl unicode -old-linux (-selinux) -slang (-uclibc)&amp;quot; 0 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-libs/libSM-1.1.1 to /usr/i686-pc-mingw32/ USE=&amp;quot;uuid -debug
&lt;br&gt;-ipv6&amp;quot; 257 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-libs/libXt-1.0.7-r1 to /usr/i686-pc-mingw32/ USE=&amp;quot;-debug&amp;quot; 0 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-libs/libXmu-1.0.5 to /usr/i686-pc-mingw32/ USE=&amp;quot;-debug
&lt;br&gt;-ipv6&amp;quot; 0 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] x11-libs/openmotif-2.3.2 to /usr/i686-pc-mingw32/ USE=&amp;quot;jpeg png
&lt;br&gt;unicode -doc -examples -xft&amp;quot; 5,803 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] media-libs/mesa-7.5.2 to /usr/i686-pc-mingw32/ USE=&amp;quot;motif nptl
&lt;br&gt;pic -debug -xcb&amp;quot; VIDEO_CARDS=&amp;quot;-intel -mach64 -mga -none -r128 -radeon -radeonhd
&lt;br&gt;-s3virge -savage -sis (-sunffb) -tdfx -trident -via&amp;quot; 0 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] virtual/glu-7.0 to /usr/i686-pc-mingw32/ 0 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] virtual/opengl-7.0 to /usr/i686-pc-mingw32/ 0 kB
&lt;br&gt;[ebuild &amp;nbsp;N &amp;nbsp; &amp;nbsp;] media-libs/glew-1.5.1 to /usr/i686-pc-mingw32/ 386 kB
&lt;br&gt;[ebuild &amp;nbsp; R &amp;nbsp; ] media-libs/libsdl-1.2.13-r1 to /usr/i686-pc-mingw32/ USE=&amp;quot;X*
&lt;br&gt;alsa* audio* joystick* opengl* video* xinerama* xv* -aalib -custom-cflags -dga
&lt;br&gt;-directfb -esd -fbcon -ggi -libcaca -nas -oss -pulseaudio (-svga) -tslib%
&lt;br&gt;(-arts%)&amp;quot; 3,295 kB
&lt;br&gt;&lt;br&gt;Problems: GDBM will fail of course. libpthread-stubs (or regular pthread in
&lt;br&gt;general) is not for Windows; sandbox is strictly for Portage; X deps; Bash, and
&lt;br&gt;a whole lot more problems.
&lt;br&gt;&lt;br&gt;Is there a work around for all this? My only slight solution is USE=&amp;quot;-*&amp;quot; but it
&lt;br&gt;does not work for everything nor does everything out of the tree successfully build.
&lt;br&gt;&lt;br&gt;Thanks for any help
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tatsh
&lt;br&gt;www.tatsh.net
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26835672&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ddrtist@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26835672&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GDBM-and-cross-compiling-on-Gentoo-with-crossdev-Portage-tp26835672p26835672.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26834411</id>
	<title>Here are the mingw compile experience notes</title>
	<published>2009-12-17T12:25:52Z</published>
	<updated>2009-12-17T12:25:52Z</updated>
	<author>
		<name>David Marceau</name>
	</author>
	<content type="html">Tor Lillqvist wrote:
&lt;br&gt;&amp;gt; But I thought what you wanted to do was to build a GTK+ *application*
&lt;br&gt;&amp;gt; (a gtkmm one), not GTK+ itself?
&lt;br&gt;These links have the words cygwin inside them, but they seem to discuss
&lt;br&gt;mingw and no cygwin at all:
&lt;br&gt;&lt;a href=&quot;http://kemovitra.blogspot.com/2009/06/setting-up-cygwin-for-software.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kemovitra.blogspot.com/2009/06/setting-up-cygwin-for-software.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://kemovitra.blogspot.com/2009/06/cygwin-tutorial-compiling-gtk-2162-for.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kemovitra.blogspot.com/2009/06/cygwin-tutorial-compiling-gtk-2162-for.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;I followed above and here are my observations:
&lt;br&gt;1)needed to download and compile the unzip sources and adjust the
&lt;br&gt;2)cflags in makefile.gcc and in my
&lt;br&gt;3)/home/user/.profile
&lt;br&gt;to have the following flags:
&lt;br&gt;-march pentium3 -mtune i586
&lt;br&gt;4)zlib needs to be compiled before glib
&lt;br&gt;5)bug in the glib configure:
&lt;br&gt;checking mswsock.h usability... no
&lt;br&gt;checking mswsock.h presence... yes
&lt;br&gt;configure: WARNING: mswsock.h: present but cannot be compiled
&lt;br&gt;configure: WARNING: mswsock.h: &amp;nbsp; &amp;nbsp; check for missing prerequisite headers?
&lt;br&gt;configure: WARNING: mswsock.h: see the Autoconf documentation
&lt;br&gt;configure: WARNING: mswsock.h: &amp;nbsp; &amp;nbsp; section &amp;quot;Present But Cannot Be Compiled&amp;quot;
&lt;br&gt;configure: WARNING: mswsock.h: proceeding with the preprocessor's result
&lt;br&gt;configure: WARNING: mswsock.h: in the future, the compiler will take
&lt;br&gt;precedence
&lt;br&gt;configure: WARNING: &amp;nbsp; &amp;nbsp; ##
&lt;br&gt;-----------------------------------------------------
&lt;br&gt;-------------- ##
&lt;br&gt;configure: WARNING: &amp;nbsp; &amp;nbsp; ## Report this to
&lt;br&gt;&lt;a href=&quot;http://bugzilla.gnome.org/enter_bug.cg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugzilla.gnome.org/enter_bug.cg&lt;/a&gt;&lt;br&gt;i?product=glib ##
&lt;br&gt;configure: WARNING: &amp;nbsp; &amp;nbsp; ##
&lt;br&gt;-----------------------------------------------------
&lt;br&gt;-------------- ##
&lt;br&gt;checking for mswsock.h... yes
&lt;br&gt;6)make/make install for glib succeeded.
&lt;br&gt;7)libpng done
&lt;br&gt;8)libjpeg-7 done
&lt;br&gt;9)libtiff cd port;make;cd ../libtiff;make done
&lt;br&gt;10)libfreetype done
&lt;br&gt;11)libexpat done
&lt;br&gt;12)libxml done
&lt;br&gt;13)libfontconfig done
&lt;br&gt;14)libatk done
&lt;br&gt;15)libpixman done
&lt;br&gt;16)libcairo
&lt;br&gt;giving me issues with the configure/Makefile. &amp;nbsp;I know that libpng-config
&lt;br&gt;exists, but I don't know how to connect it to the configure script.
&lt;br&gt;I changed the respective libpng cflags and libs in the Makefile along
&lt;br&gt;with adding -lpng14 to the cairo libs in the Makefile &amp;nbsp;to get it to
&lt;br&gt;compile successfully.
&lt;br&gt;done
&lt;br&gt;16.2)libpango done
&lt;br&gt;16.3)gtk+2
&lt;br&gt;changed the configure script to use png instead of png12
&lt;br&gt;done
&lt;br&gt;17)libcairomm
&lt;br&gt;/mingw/lib/pkg-config/cairo.pc changed libpng12 to libpng
&lt;br&gt;it wants libsig++
&lt;br&gt;&lt;br&gt;I installed the gtkmm.exe package you told me in your previous email:
&lt;br&gt;export PKG_CONFIG_PATH=/c/gtkmm/lib/pkgconfig:/c/mingw/lib/pkgconfig
&lt;br&gt;export LD_LIBRARY_PATH=/c/gtkmm/redist:/c/gtkmm/bin
&lt;br&gt;export PATH=/c/gtkmm/bin:/c/gtkmm/redist:$PATH
&lt;br&gt;gcc -Wall -o anomos.exe `pkg-config --cflags gtkmm-2.4 pangomm-1.4`
&lt;br&gt;anomos.cc `pkg-config --libs gtkmm-2.4 pangomm-1.4` -lstdc++
&lt;br&gt;&lt;br&gt;I ran anomos.exe with no hitches, twice in a row with no exceptions raised.
&lt;br&gt;&lt;br&gt;BTW I tried to compile cadaver sources using mingw and was missing some
&lt;br&gt;stuff about glob/regex/signals. Is there a repository of mingw compiled
&lt;br&gt;gnu tools like wget and cadaver around? &amp;nbsp;Cygwin has these. &amp;nbsp;I needed to
&lt;br&gt;use cygwing cadaver to move these notes over from the windows laptop to
&lt;br&gt;the linux box. &amp;nbsp;I prefer not to use nfs/samba/ftp. &amp;nbsp;cadaver knows https
&lt;br&gt;out-of-the-box.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;David Marceau
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26834411&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-build-Mingw-Source-files-in-windows-tp26715460p26834411.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26828857</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-17T06:29:06Z</published>
	<updated>2009-12-17T06:29:06Z</updated>
	<author>
		<name>Tor Lillqvist</name>
	</author>
	<content type="html">&amp;gt; I have an application that has two modules that communicates by stdin and stdout.
&lt;br&gt;&lt;br&gt;Please note that &amp;quot;module&amp;quot; can mean more or less anything... You mean
&lt;br&gt;two programs, one writing to the other through a pipe? You mean they
&lt;br&gt;are started from a shell with an explicit pipe created by the shell
&lt;br&gt;between them, like &amp;quot;prog1 | prog2 &amp;quot;?
&lt;br&gt;&lt;br&gt;Passing the filename through a pipe should not affect it, the same
&lt;br&gt;bytes that were written to the pipe will be read from the pipe. The
&lt;br&gt;only &amp;quot;mangling&amp;quot; that might happen is related to line endings, i.e. LF
&lt;br&gt;turning into CRLF when writing and/or vice versa when reading.
&lt;br&gt;Reliable code should be prepared for either just LF or CRLF line
&lt;br&gt;endings and handle both.
&lt;br&gt;&lt;br&gt;Where does the file name come from initially? From user input in a
&lt;br&gt;console window? Such input indeed (as far as I know) is in the
&lt;br&gt;&amp;quot;console&amp;quot; codepage which often is the so-called &amp;quot;OEM&amp;quot; codepage, so it
&lt;br&gt;might need to be converted to the &amp;quot;system&amp;quot; (&amp;quot;ANSI&amp;quot;) codepage before
&lt;br&gt;passed to fopen().
&lt;br&gt;&lt;br&gt;(Yeah, this codepage stuff is pure crack. Ideally, one should use
&lt;br&gt;libraries (GLib, Qt, ...) or programming environments (C#, Java, ...)
&lt;br&gt;that hopefully hide all that crap and offer a Unicode-based
&lt;br&gt;environment. Although come to think of it, I don't think GLib actually
&lt;br&gt;offers any Windows-specific functionality to read from the console
&lt;br&gt;that would turn console codepage input into Unicode. Sorry.)
&lt;br&gt;&lt;br&gt;But if the file name comes from some C library or Win32 API (like
&lt;br&gt;readdir() or FindNextFile() etc) then it should already be in the
&lt;br&gt;system codepage and should be fine to pass to fopen().
&lt;br&gt;&lt;br&gt;If the filename is hardcoded in your source code (as in your initial
&lt;br&gt;example), you just need to figure out yourself what codeset the source
&lt;br&gt;code is in;) It depends on your editor etc. Is it UTF-8 for instance?
&lt;br&gt;Passing UTF-8 file names to fopen() would not work.
&lt;br&gt;&lt;br&gt;&amp;gt; When I try to send the command with bt stdout the &amp;quot;core&amp;quot; gets a string with
&lt;br&gt;&amp;gt; strange chars in it...
&lt;br&gt;&lt;br&gt;What do you mean with &amp;quot;bt stdout&amp;quot; ?
&lt;br&gt;&lt;br&gt;--tml
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26828857&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26828857.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26828676</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-17T06:18:02Z</published>
	<updated>2009-12-17T06:18:02Z</updated>
	<author>
		<name>Erwin Waterlander-2</name>
	</author>
	<content type="html">Op 12/17/2009 02:33 PM, Paulo Flabiano Smorigo schreef:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Erwin, JonY and Tor,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have an application that has two modules that communicates by stdin 
&lt;br&gt;&amp;gt; and stdout. It's an interface that sends commands to the &amp;quot;core&amp;quot;. In 
&lt;br&gt;&amp;gt; this communication, there is a command to save a file that could be in 
&lt;br&gt;&amp;gt; a path with special characters, like the example.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When I try to send the command with bt stdout the &amp;quot;core&amp;quot; gets a string 
&lt;br&gt;&amp;gt; with strange chars in it...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm trying to solve by implementing the suggestions from the 
&lt;br&gt;&amp;gt; previously messages.
&lt;br&gt;&amp;gt;
&lt;/div&gt;Don't forget to set the font of the console to &amp;quot;true type lucida 
&lt;br&gt;console&amp;quot; to make the 8bit characters appear correctly.
&lt;br&gt;&lt;br&gt;Erwin
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26828676&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26828676.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26828377</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-17T05:33:41Z</published>
	<updated>2009-12-17T05:33:41Z</updated>
	<author>
		<name>P.F.Smorigo</name>
	</author>
	<content type="html">Hi Erwin, JonY and Tor,&lt;br&gt;&lt;br&gt;I have an application that has two modules that communicates by stdin and stdout. It&amp;#39;s an interface that sends commands to the &amp;quot;core&amp;quot;. In this communication, there is a command to save a file that could be in a path with special characters, like the example.&lt;br&gt;

&lt;br&gt;When I try to send the command with bt stdout the &amp;quot;core&amp;quot; gets a string with strange chars in it...&lt;br&gt;&lt;br&gt;I&amp;#39;m trying to solve by implementing the suggestions from the previously messages.&lt;br&gt;&lt;br&gt;Again, thanks for the support!&lt;br&gt;

Paulo Flabiano Smorigo&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26828377&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26828377.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26828474</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-17T05:30:58Z</published>
	<updated>2009-12-17T05:30:58Z</updated>
	<author>
		<name>mbiddeg</name>
	</author>
	<content type="html">&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:x=&quot;urn:schemas-microsoft-com:office:excel&quot; xmlns:p=&quot;urn:schemas-microsoft-com:office:powerpoint&quot; xmlns:a=&quot;urn:schemas-microsoft-com:office:access&quot; xmlns:dt=&quot;uuid:C2F41010-65B3-11d1-A29F-00AA00C14882&quot; xmlns:s=&quot;uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882&quot; xmlns:rs=&quot;urn:schemas-microsoft-com:rowset&quot; xmlns:Z=&quot;urn:schemas-microsoft-com:&quot; xmlns:b=&quot;urn:schemas-microsoft-com:office:publisher&quot; xmlns:ss=&quot;urn:schemas-microsoft-com:office:spreadsheet&quot; xmlns:c=&quot;urn:schemas-microsoft-com:office:component:spreadsheet&quot; xmlns:odc=&quot;urn:schemas-microsoft-com:office:odc&quot; xmlns:oa=&quot;urn:schemas-microsoft-com:office:activation&quot; xmlns:html=&quot;http://www.w3.org/TR/REC-html40&quot; xmlns:q=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:rtc=&quot;http://microsoft.com/officenet/conferencing&quot; xmlns:D=&quot;DAV:&quot; xmlns:Repl=&quot;http://schemas.microsoft.com/repl/&quot; xmlns:mt=&quot;http://schemas.microsoft.com/sharepoint/soap/meetings/&quot; xmlns:x2=&quot;http://schemas.microsoft.com/office/excel/2003/xml&quot; xmlns:ppda=&quot;http://www.passport.com/NameSpace.xsd&quot; xmlns:ois=&quot;http://schemas.microsoft.com/sharepoint/soap/ois/&quot; xmlns:dir=&quot;http://schemas.microsoft.com/sharepoint/soap/directory/&quot; xmlns:ds=&quot;http://www.w3.org/2000/09/xmldsig#&quot; xmlns:dsp=&quot;http://schemas.microsoft.com/sharepoint/dsp&quot; xmlns:udc=&quot;http://schemas.microsoft.com/data/udc&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:sub=&quot;http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/&quot; xmlns:ec=&quot;http://www.w3.org/2001/04/xmlenc#&quot; xmlns:sp=&quot;http://schemas.microsoft.com/sharepoint/&quot; xmlns:sps=&quot;http://schemas.microsoft.com/sharepoint/soap/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:udcs=&quot;http://schemas.microsoft.com/data/udc/soap&quot; xmlns:udcxf=&quot;http://schemas.microsoft.com/data/udc/xmlfile&quot; xmlns:udcp2p=&quot;http://schemas.microsoft.com/data/udc/parttopart&quot; xmlns:wf=&quot;http://schemas.microsoft.com/sharepoint/soap/workflow/&quot; xmlns:dsss=&quot;http://schemas.microsoft.com/office/2006/digsig-setup&quot; xmlns:dssi=&quot;http://schemas.microsoft.com/office/2006/digsig&quot; xmlns:mdssi=&quot;http://schemas.openxmlformats.org/package/2006/digital-signature&quot; xmlns:mver=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns:mrels=&quot;http://schemas.openxmlformats.org/package/2006/relationships&quot; xmlns:spwp=&quot;http://microsoft.com/sharepoint/webpartpages&quot; xmlns:ex12t=&quot;http://schemas.microsoft.com/exchange/services/2006/types&quot; xmlns:ex12m=&quot;http://schemas.microsoft.com/exchange/services/2006/messages&quot; xmlns:pptsl=&quot;http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/&quot; xmlns:spsl=&quot;http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService&quot; xmlns:st=&quot;&amp;#1;&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;

&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;2050&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Georgia&quot;,&quot;serif&quot;;
color:#1F497D'&gt;For Windows,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Georgia&quot;,&quot;serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:11.0pt;font-family:Symbol;color:red'&gt;&lt;span style='mso-list:
Ignore'&gt;&lt;img width=12 height=12 src=&quot;http://old.nabble.com/attachment/26828474/0/image001.gif&quot; alt=&quot;*&quot;&gt;&lt;span style='font:7.0pt &quot;Times New Roman&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;b&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Georgia&quot;,&quot;serif&quot;;color:red'&gt;fopen, _wfopen&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Georgia&quot;,&quot;serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoListParagraph&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Georgia&quot;,&quot;serif&quot;;
color:#1F497D'&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/yeby3zcb(VS.80).aspx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://msdn.microsoft.com/en-us/library/yeby3zcb(VS.80).aspx&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Georgia&quot;,&quot;serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'&gt;&lt;![if !supportLists]&gt;&lt;span style='font-size:11.0pt;font-family:Symbol;color:red'&gt;&lt;span style='mso-list:
Ignore'&gt;&lt;img width=12 height=12 src=&quot;http://old.nabble.com/attachment/26828474/0/image001.gif&quot; alt=&quot;*&quot;&gt;&lt;span style='font:7.0pt &quot;Times New Roman&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;b&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Georgia&quot;,&quot;serif&quot;;color:red'&gt;fopen_s,
_wfopen_s&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Georgia&quot;,&quot;serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoListParagraph&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Georgia&quot;,&quot;serif&quot;;
color:#1F497D'&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/z5hh6ee9(VS.80).aspx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://msdn.microsoft.com/en-us/library/z5hh6ee9(VS.80).aspx&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Georgia&quot;,&quot;serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Georgia&quot;,&quot;serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span lang=EN-GB style='font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;
color:#00B0F0'&gt;______________________________________________________________________&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span lang=EN-GB style='font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span lang=EN-GB style='font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Kizza George Mbidde&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span lang=EN-GB style='font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;Interconnect Billing Systems Analyst&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-GB style='font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;IT&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-GB style='font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;cell: &lt;/span&gt;&lt;span lang=EN-GB style='font-size:7.5pt;font-family:
&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#C00000'&gt;+256 77 212 0982&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-GB style='font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;email: &lt;/span&gt;&lt;span lang=EN-GB style='font-size:7.5pt;
font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D'&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26828474&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mbiddeg@...&lt;/a&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;img border=0 width=120 height=138 id=&quot;Picture_x0020_1&quot; src=&quot;http://old.nabble.com/attachment/26828474/1/image002.gif&quot; alt=&quot;FIFA_Signature_Transparent&quot;&gt;&lt;/span&gt;&lt;span lang=EN-GB style='font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Georgia&quot;,&quot;serif&quot;;
color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style='font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt; Paulo Flabiano
Smorigo [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26828474&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pfsmorigo@...&lt;/a&gt;] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; December 17, 2009 15:42&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; MinGW Users List&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; [Mingw-users] Problems with charset on Windows&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Hi everyone,&lt;br&gt;
&lt;br&gt;
I trying to compile on linux an application for windows that has to open a file
inside a directory with special characters. My code is:&lt;br&gt;
&lt;br&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br&gt;
#include &amp;lt;windows.h&amp;gt;&lt;br&gt;
&lt;br&gt;
int main(int argc, char* argv[])&lt;br&gt;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; FILE *file;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if ((file = fopen(&amp;quot;f:/ação/file.txt&amp;quot;,
&amp;quot;w&amp;quot;)))&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&amp;quot;worked!\n&amp;quot;);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&amp;quot;not worked!\n&amp;quot;);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
But on Windows, the charset appears to be wrong,,, I printed the string in the
screen and saw strange characters...&lt;br&gt;
&lt;br&gt;
Thanks in advance!&lt;br&gt;
Paulo Flabiano Smorigo&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26828474&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26828474.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26827919</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-17T05:20:57Z</published>
	<updated>2009-12-17T05:20:57Z</updated>
	<author>
		<name>Tor Lillqvist</name>
	</author>
	<content type="html">&amp;gt;     if ((file = fopen(&amp;quot;f:/ação/file.txt&amp;quot;, &amp;quot;w&amp;quot;)))
&lt;br&gt;&lt;br&gt;&amp;gt; But on Windows, the charset appears to be wrong,,, I printed the string in
&lt;br&gt;&amp;gt; the screen and saw strange characters...
&lt;br&gt;&lt;br&gt;You printed what string? Did the fopen succeed, and it's the contents
&lt;br&gt;of the file which looks strange if printed to stdout (the console
&lt;br&gt;window)? Or did the fopen fail (and it's the file name that looks
&lt;br&gt;strange if printed to the console window)?
&lt;br&gt;&lt;br&gt;--tml
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827919&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26827919.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26827745</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-17T05:05:05Z</published>
	<updated>2009-12-17T05:05:05Z</updated>
	<author>
		<name>JonY-6</name>
	</author>
	<content type="html">On 12/17/2009 20:42, Paulo Flabiano Smorigo wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi everyone,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I trying to compile on linux an application for windows that has to open a
&lt;br&gt;&amp;gt; file inside a directory with special characters. My code is:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; #include&amp;lt;stdio.h&amp;gt;
&lt;br&gt;&amp;gt; #include&amp;lt;windows.h&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; int main(int argc, char* argv[])
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;FILE *file;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ((file = fopen(&amp;quot;f:/ação/file.txt&amp;quot;, &amp;quot;w&amp;quot;)))
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&amp;quot;worked!\n&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&amp;quot;not worked!\n&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;return 0;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But on Windows, the charset appears to be wrong,,, I printed the string in
&lt;br&gt;&amp;gt; the screen and saw strange characters...
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;have you tried _wfopen?
&lt;br&gt;&lt;br&gt;_wfopen(L&amp;quot;f:/ação/file.txt&amp;quot;, L&amp;quot;w&amp;quot;);
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827745&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26827745.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26827750</id>
	<title>Re: Problems with charset on Windows</title>
	<published>2009-12-17T05:05:00Z</published>
	<updated>2009-12-17T05:05:00Z</updated>
	<author>
		<name>Erwin Waterlander-2</name>
	</author>
	<content type="html">Op 12/17/2009 01:42 PM, Paulo Flabiano Smorigo schreef:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi everyone,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I trying to compile on linux an application for windows that has to 
&lt;br&gt;&amp;gt; open a file inside a directory with special characters. My code is:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;lt;stdio.h&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;lt;windows.h&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; int main(int argc, char* argv[])
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; FILE *file;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if ((file = fopen(&amp;quot;f:/ação/file.txt&amp;quot;, &amp;quot;w&amp;quot;)))
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&amp;quot;worked!\n&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&amp;quot;not worked!\n&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; return 0;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But on Windows, the charset appears to be wrong,,, I printed the 
&lt;br&gt;&amp;gt; string in the screen and saw strange characters...
&lt;br&gt;&amp;gt;
&lt;/div&gt;The default code page in a command prompt is a DOS code page.
&lt;br&gt;Make the code page in the console equal to the system code page. For 
&lt;br&gt;instance:
&lt;br&gt;chcp 1252
&lt;br&gt;&lt;br&gt;I have the same issue in my program. See also:
&lt;br&gt;&lt;a href=&quot;http://www.xs4all.nl/~waterlan/wcdbeta/wcd.html#windows_code_pages&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.xs4all.nl/~waterlan/wcdbeta/wcd.html#windows_code_pages&lt;/a&gt;&lt;br&gt;&lt;br&gt;Erwin
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827750&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26827750.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26827504</id>
	<title>Problems with charset on Windows</title>
	<published>2009-12-17T04:42:14Z</published>
	<updated>2009-12-17T04:42:14Z</updated>
	<author>
		<name>P.F.Smorigo</name>
	</author>
	<content type="html">Hi everyone,&lt;br&gt;&lt;br&gt;I trying to compile on linux an application for windows that has to open a file inside a directory with special characters. My code is:&lt;br&gt;&lt;br&gt;#include &amp;lt;stdio.h&amp;gt;&lt;br&gt;#include &amp;lt;windows.h&amp;gt;&lt;br&gt;&lt;br&gt;

int main(int argc, char* argv[])&lt;br&gt;{&lt;br&gt;    FILE *file;&lt;br&gt;    if ((file = fopen(&amp;quot;f:/ação/file.txt&amp;quot;, &amp;quot;w&amp;quot;)))&lt;br&gt;        printf(&amp;quot;worked!\n&amp;quot;);&lt;br&gt;    else&lt;br&gt;        printf(&amp;quot;not worked!\n&amp;quot;);&lt;br&gt;

    return 0;&lt;br&gt;}&lt;br&gt;&lt;br&gt;But on Windows, the charset appears to be wrong,,, I printed the string in the screen and saw strange characters...&lt;br&gt;&lt;br&gt;Thanks in advance!&lt;br&gt;Paulo Flabiano Smorigo&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;MinGW-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26827504&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;MinGW-users@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;This list observes the Etiquette found at 
&lt;br&gt;&lt;a href=&quot;http://www.mingw.org/Mailing_Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mingw.org/Mailing_Lists&lt;/a&gt;.
&lt;br&gt;We ask that you be polite and do the same. &amp;nbsp;Disregard for the list etiquette may cause your account to be moderated.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;You may change your MinGW Account Options or unsubscribe at:
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mingw-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mingw-users&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-charset-on-Windows-tp26827504p26827504.html" />
</entry>

</feed>
