This is the mail archive of the cygwin-developers 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: API request: export internal_setlocale


Corinna Vinschen:
> I can add that as cygwin_internal(CW_INT_SETLOCALE), that's not a big
> problem.

Thanks very much for implementing that.

> However, are you aware that this might result in weird
> problems?

Ah yes, I seem to remember a rather exhaustive (and exhausting)
discussion on that. ;)

> Names of files (objects in general) which are already open in
> the application will potentially be using the wrong encoding afterwards.

But file descriptors returned by open() should be fine, right?

> If the application uses only ASCII chars up to the point it calls
> cygwin_internal(CW_INT_SETLOCALE) that shouldn't matter, but I don't
> give any guarantees that this will work as expected.

Understood.

Thanks again,
Andy


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