1017Re: Filename encodings under Win32
- Oct 14, 2003Glenn Maynard wrote:
> If "encoding" is not the ACP codepage, then the main problem is that theAgreed. There's no way around that.
> user can enter characters that Vim simply can't put into a filename
> (and in 9x, that the system can't, either).
> I'd just do a conversion, and if the conversion fails, warn appropriately.
> It's not that much work. Windows has _wfopen and _wstat. Vim alreadySounds very promising. It would be really great if it turns out that the
> has those abstracted (mch_fopen, mch_stat), so conversions would only
> happen in one place (and in a place that's intended to be platform-
> specific, mch_*). I believe the code I linked earlier did exactly this.
> The only thing needed is sane error recovery.
changes are fairly minor. That way there's a chance they would get
If you decide to try the proposed changes out, I'm prepared to do some
testing on a Win32 binary build. Sorry, can't build myself. :(
Camillo Särs <+ged+@...> ** Aim for the impossible and you
<http://www.iki.fi/+ged> ** will achieve the improbable.
PGP public key available **
- << Previous post in topic Next post in topic >>