It looks like an encoding problem, so the solution depends on the encoding of your text file.
If you take text strings from Lazarus controls such as TEdit and then save them to a file, these strings will be in UTF-8 encoding. In this case you can use UTF8Pos instead of plain Pos. In order to use it you need to add LCLProcs to the unit "uses" clause.