The safest practice is in any case not to use non-ASCII characters (nor spaces) in file names, since above-ASCII characters are not portable between encodings, and different operating systems may use different encodings. If you are interested I have a Perl script which does its best to customizably 'transliterate' filenames between other encodings (UTF-8 by default) and ASCII, and rename files, adding a unique number in case of conflicts in the resulting names. It can also create or add to a YAML file mapping between transliterated names and original names, and has a mode for 'reverting' names. It does by default back up files under their original files into a directory of your choice (by default 'renamed-TIMESTAMP' in the current directory.) /bpj Den ons 26 juli 2023 02:03H skrev: > On 07/18/2023 10:08 PM, H wrote: > > On July 18, 2023 10:06:41 PM EDT, H wrote: > >> On July 18, 2023 7:22:40 PM EDT, John MacFarlane > >> wrote: > >>> I'm not sure what you mean by "expand file names." > >>> Are you talking about tab-completion? That is not done by pandoc but > >>> by the shell. > >>> > >>>> On Jul 18, 2023, at 3:49 PM, H wrote: > >>>> > >>>> Running 3.1.2 on CentOS7 and found that the CLI does not expand file > >>> names correctly. It fails to expand file names containing 'ä' - > >>> possibly others as well that I have not tested. > >>>> Is this a known bug? > >>>> > >>>> -- > >>>> You received this message because you are subscribed to the Google > >>> Groups "pandoc-discuss" group. > >>>> To unsubscribe from this group and stop receiving emails from it, > >>> send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >>>> To view this discussion on the web visit > >>> > https://groups.google.com/d/msgid/pandoc-discuss/2b0984b1-a157-eb8a-0e1e-8f10c4d8473e%40meddatainc.com > . > >> Yes, you are correct, tab-completion. It works correctly outside > >> pandoc. > > Let me double-check tomorrow to make sure. > > I had reason to use pandoc again today and could verify that when a > filename contains 'ä' tab-completion works when used /ahead/ of this > character but not when used /after/ the character /up until '_' occurs in > the filename/. > > ls -al works correctly even when pandoc fails above. > > Can anyone else confirm problems with tab-completion? > > -- > You received this message because you are subscribed to the Google Groups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/62484f9c-7ab2-f8f4-f1d6-31bd8fc4bde8%40meddatainc.com > . > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhBmdnJc7J3803mV3dq-Acng_sQ%2B%2BnGwoKX09LVWHYgMEQ%40mail.gmail.com.