X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Sat, 16 May 2009 23:56:47 +0900 Message-ID: <3f0ad08d0905160756w5a1a4751sf687351097c6a406@mail.gmail.com> Subject: [1.7] wprintf is broken? From: IWAMURO Motonori To: cygwin AT cygwin DOT com, newlib AT sourceware DOT org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi. wprintf is broken? I compile & run the following source: #include #include #include int main(void) { setlocale(LC_ALL, "en_US.UTF-8"); wprintf(L"%ls\n", L"Test\n"); printf("Test\n"); return 0; } Result text: http://vmi.jp/tmp/wprintf-is-broken.txt -- IWAMURO Motnori -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/