This is the mail archive of the cygwin-patches@cygwin.com 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: UTF8 patch


On Wed, Jul 03, 2002 at 05:36:46PM +0100, Chris January wrote:
>> >This patch adds UTF8 support to Cygwin. It's a quick hack, so may not be
>> >complete or perfect.
>>
>> Is there any way that this could be done with wrapper functions for things
>> like CreateFile?  I would rather make this change as unintrusive as
>possible.
>yep, this sounds like a good idea. only problem is it adds a bit of overhead
>if you call more than one wrapper from the same function because it would be
>hard to store the converted value between calls and hence the conversion
>would be done more than once.

How about a conversion class then?  You could store state in that.

cgf


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