Google Groups

Re: Asciifying File Names

Andrew Weeks May 1, 2012 4:17 AM
Posted in group: nodejs
I used the code here to do this. It's just an array of substitutions, so you can obviously edit it if it doesn't meet your requirements. Clearly it's a lot less powerful than iconv, but it may be sufficient (and it runs on Windows too :).

On Sunday, 29 April 2012 21:41:35 UTC+1, mscdex wrote:
On Apr 29, 2:32 pm, "P. Douglas Reeder" <> wrote:
> ...but this is not entirely satisfactory.  In particular, I'd like to
> do preserve meaning through conventional substitutions such as ae for
> German ä.  Any suggestions?

Your best bet will probably be using the iconv module (https:// with the //TRANSLIT option.