I am trying to parse the file with fixed length chinese and english data fields ( that looks like "M02 1731580851珠海 WBPX深圳龙发商业有限公司 999999321" but the substr starts giving incorrect output after encountering the first occurrence chinese field.
This continues to happen even after the 'use utf8' pragma is used in the script.
Is there any way in perl that I can use to read and unpack this record with these different characters???