If the encoding is utf-8 rather than iso8859-1 then you can use the XPosixAlpha class like this:
$ echo habíamos reservado habitaciones. | perl -CIO -pe 's/\p{XPosixAl +pha}/-/g;' -------- --------- ------------.
In reply to Re^5: Converting a passage of Spanish into hyphens and spaces
by hippo
in thread Converting a passage of Spanish into hyphens and spaces
by UKhombre
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |