Re: Using BOM to auto-detect file encoding

2013-04-09 Thread Steven Schveighoffer
On Tue, 09 Apr 2013 12:25:17 -0400, Kai Meyer wrote: I would like to know if there exists a 'stream' or 'file' class that is able to take a text file with a correct BOM, and an 'ouput' utf encoding. It want it to be capable of detecting the 'input' stream utf encoding by using the BOM, and

Re: Using BOM to auto-detect file encoding

2013-04-09 Thread Jacob Carlborg
On 2013-04-09 18:25, Kai Meyer wrote: I would like to know if there exists a 'stream' or 'file' class that is able to take a text file with a correct BOM, and an 'ouput' utf encoding. It want it to be capable of detecting the 'input' stream utf encoding by using the BOM, and do the encoding for m

Using BOM to auto-detect file encoding

2013-04-09 Thread Kai Meyer
I would like to know if there exists a 'stream' or 'file' class that is able to take a text file with a correct BOM, and an 'ouput' utf encoding. It want it to be capable of detecting the 'input' stream utf encoding by using the BOM, and do the encoding for me on the way out in the specified 'o