Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Nov : Loading ascii text files with $EFBBBF prefix
| Subject: | Loading ascii text files with $EFBBBF prefix |
| Posted by: | noma..@sorry |
| Date: | Wed, 21 Nov 2007 18:36:05 GMT |
Hi!
I have to load plain ascii text file but it has a 3 byte prefix
$EFBBBF wich gives me trouble so I have to strip that.
I could manualy skip those 3 chars, but would like to have more
general approach. I am aware of unicode prefixes $FEFF and $FFFE and
have Peter Below's routine for such files, but is there a more general
routine for loading text files which can handle all such posible
options?
tomi.