Forum: CAT Tools Technical Help
Topic: How to convert TMX to tab-delimited?
Poster: Hans Lenting
Post title: Zap them, these Gremlins!
[quote]Samuel Murray wrote:
The gremlins that my script removes are:
- [\x00-\x08]|\x0B|\x0C|[\x0E-\x1F] (characters that are not valid XML)
[/quote]
Thank you Samuel! Your selection of ranges works! In BBEdit this becomes:
I use it when I get this message:
[quote]- Any entity that's not LT, GT, AMP, APOS or QUOT[/quote]
Would you mind sharing this syntax too? Thank you in advance!
EDIT: I had to add the last two items:
[\x{00}-\x{08}]|\x{0B}|\x{0C}|[\x{0E}-\x{1F}]|\x{F0B7}|\x{F0F0}
[Edited at 2022-10-14 08:39 GMT]
Topic: How to convert TMX to tab-delimited?
Poster: Hans Lenting
Post title: Zap them, these Gremlins!
[quote]Samuel Murray wrote:
The gremlins that my script removes are:
- [\x00-\x08]|\x0B|\x0C|[\x0E-\x1F] (characters that are not valid XML)
[/quote]
Thank you Samuel! Your selection of ranges works! In BBEdit this becomes:
I use it when I get this message:
[quote]- Any entity that's not LT, GT, AMP, APOS or QUOT[/quote]
Would you mind sharing this syntax too? Thank you in advance!
EDIT: I had to add the last two items:
[\x{00}-\x{08}]|\x{0B}|\x{0C}|[\x{0E}-\x{1F}]|\x{F0B7}|\x{F0F0}
[Edited at 2022-10-14 08:39 GMT]