From mboxrd@z Thu Jan 1 00:00:00 1970 From: Krzysztof Subject: Re: Unicode or not? Date: Mon, 05 Mar 2012 21:19:11 +0100 Message-ID: References: <4F54C7E2.3000307@udo.edu> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4F54C7E2.3000307@udo.edu> Sender: linux-c-programming-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-c-programming@vger.kernel.org So how to read effectively UTF-8 characters from char* passed as an argument under Linux? Should one simply cast argv[n] to wchar_t*? -- Regards Krzysztof J.