Hi,
maybe someone can help me with this topic:
I need a filter like that:
restrict to matching lines:
must begin with "<Russian>"
whenever such a line was found, a subfilter selects the part after "<Russian>" and converts the UTF-16 strings to CP1251 strings
and so on.
My files are in UTF-16, and I need to convert the content of each line to specific codepages, depending on the beginning of the line (can be "<Greek>" or "<Russian>" or "<Turkish>" and so on).
restrict-to-line expression
Moderator: DataMystic Support
- DataMystic Support
- Site Admin
- Posts: 2328
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
You can't use a restriction for this - they are single-byte based. Instead, use a Unicode pattern match search/replace filter.
Try a pattern of
^\<Russian\>[^\r\n]*
Try a pattern of
^\<Russian\>[^\r\n]*
Regards,
Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments
Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments