Uwe Stöhr wrote: > Do you prefer from_ascii for all calls? No, I prefer from_ascii for all calls where we are sure that no characters beyond the ascii range are involved.
The reason for the two calls is that from_utf8 is rather expensive, so we use the much faster from_ascii whereever possible. As soon as a non-ascii character is expected, we have to use from_utf8. I don't think this so in the cases you changed. LaTeX package names and macros use ascii characters only, AFAIK. I didn't check the other occurences. I'm sure we have some where from_ascii would suffice, but we have to be careful (since a wrong from_ascii will trigger an assertion). Jürgen