Hi, someone has sent me a file to parse and there are all sorts of '<feff>' characters in them in arbritrary spots -- looking it up online it appears it's some sort of character to indicate what encoding the strings are -- '(bom) byte order mark'
my question -- what should I do with these? should I accept that some files are going to have these and convert them to spaces as a sort of pre-processor or should I take the easy way out and say "we don't support this" ;) the person handing me the file says he never opened it in a text editor and it was a piece of software on a OSX box maybe if I detect a bom in one of my documents I can convert the entire file to the appropriate encoding first?? thanks, -- ian eyberg List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
