Juergen Vigna <[EMAIL PROTECTED]> writes:
| IMO all 8-bit (öü...) chars in filenames give problems with latex!
| Also using spaces give problems !
Yes, this is known. But the spaceless function has been used used for
other things too. And I would like to knwo what problem we are trying
to solve. i.e. What chars need to be changed.
When we know that we can do a:
string change("<chars-to-be-changed>")
string::size_type pos = 0;
while (pos != string::npos) {
pos = file.find_first_of(change, pos);
if (pos != string::npos) file[pos] = '_';
}
to change all the chars we can't use.
(Note: this is why string functions is a lot nicer to use than subst :-) )
Lgb