This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8


On May 13 11:41, Jason Pyeron wrote:
> Corinna Vinschen wrote on Wednesday, May 13, 2009 10:30:
> > On May 12 19:37, Corinna Vinschen wrote:
> >> On May 13 02:29, IWAMURO Motonori wrote:
> >>> I propose that the filename encoding in C locale uses UTF-8 instead
> >>> of SO/UTF-8. 
> >>> 
> >>> There are three reasons:
> >> 
> >> That's an interesting thought.  Do you have a patch and, if so, did
> >> you try it?  Does it, for instance, help for the issue reported in
> >> the thread starting at
> > http://cygwin.com/ml/cygwin/2009-05/msg00245.html?
> > 
> > After examining the issue Lenik reported in the above thread,
> > I'm at a loss how to solve this problem in a generic way.
> > 
> 
> I may be dense, as all of my internationlization experience was from the late
> 90's. But in my experience the only solution for this is a cognizant effort on
> behalf of the user (or admin).
> [...]
> > Any better ideas?
> 
> Not necessarily better, but here is a chart:
> 
> Sys:	App:	function expects/returns
> NULL:	NULL:	UTF-8
> C/UA:	NULL:	UTF-8
> NULL:	C/UA:	UTF-8
> C/UA:	C/UA:	UTF-8
> SPEC:	NULL:	System Locale
> SPEC:	C/UA:	UTF-8
> NULL	SPEC:	Application Locale
> C/UA:	SPEC:	Application Locale
> SPEC:	SPEC:	Application Locale

What I just implemented basically matches the above, except for

  SPEC:	NULL:	System Locale

This will also use UTF-8.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]