delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/15/00:54:06

X-Spam-Check-By: sourceware.org
Message-ID: <455A96B4.3030607@tlinx.org>
Date: Tue, 14 Nov 2006 20:25:24 -0800
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird 1.5.0.8 (Windows/20061025)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin util replacing win-util for UCS-2 -> UTF-8; utf8 support (redux)
References: <455A453A DOT 8060409 AT tlinx DOT org> <455A4A07 DOT D1E9FCB5 AT dessent DOT net>
In-Reply-To: <455A4A07.D1E9FCB5@dessent.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Brian Dessent wrote:
> Yuck.  Why don't you just use iconv instead?
>   
Cuz, I thought it was only a library? :-?

Cuz I already know windows starts in UCS-2 and know the codepage
for UTF-8 (65001).  With iconv, I don't know off the top of my head
where to look for what document that specifies the strings to use
for input and output.  Output is likely utf-8 or utf8, but it might
require uppercase.  I don't think UCS-2 is a unicode input charset,
so I'd have to semi-lie to iconv and tell it utf16, but that's no
worse than the windows method, where the "lie" is implicit.

But thanks for the new pointer... something else to learn & use...


linda


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019