perlquestion
kepler
Hi,
I'm converting a database (that I thought it was utf8) to a txt flat database; here are the results I'm getting:
<code>
guozi|5|41.102188|122.502444|CH|19||Guo?zi|
e|5|41.102188|122.502444|CH|19||锅?子|
zaomugou|5|41.144313|122.489929|CH|19||Zaomugou|
|5|41.144313|122.489929|CH|19||枣木沟|
wangjia|5|41.417097|122.412761|CH|19||Wangjia|
c|5|41.417097|122.412761|CH|19||王家|
shengli|5|41.393546|122.456116|CH|19||Shengli|
e|5|41.393546|122.456116|CH|19||胜利|
minjitun|5|41.375362|122.471185|CH|19||Minjitun|
e|5|41.375362|122.471185|CH|19||民集屯|
zhangjiagou|5|41.413368|122.487095|CH|19||Zhangjiagou|
|5|41.413368|122.487095|CH|19||张家沟|
yahua|5|41.42516|122.473109|CH|19||Yahua|
</code>
As you can see, some of the lines have strange symbols (utf8?) - not many. I want to exclude them. What kind of match pattern can I use to exclude them?
Kind regards,
Kepler