Abdelrazak Younes wrote: >> Perhaps you should factor the code into a utility function? Maybe even >> into fromqstr inself? > > Yes, I wanted to do that for a long time.
IIRC it is not needed in the windows case, because \r is ignored later in the copy/paste code, but the other way round (\r -> \r\n) might be needed. Georg