• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

UTF-8 vs ANSI Character Encoding

Moose423956

Super poster
Joined
Jun 16, 2006
Messages
2,754
Likes received
55
Thanks received
15
G'day techies. I have a question concerning the default encoding of text type files on Windows. Is there a way to specify that all text files created under Windows via a script always have a UTF-8 encoding, or to automatically detect the data type in the file and select the encoding from that.

So if a file contains UTF-8 type characters, then the file is defined with a UTF-8 encoding, otherwise it is defined as an ANSI file.

Sorry if that's a bit woolly. Would gladly try to elucidate if required.
 
That's your free 15 minutes used up Moosey. If you would like to use my services, the hourly rate is £60 p.h. which is cheaper than a London Plumber.
 
That's your free 15 minutes used up Moosey. If you would like to use my services, the hourly rate is £60 p.h. which is cheaper than a London Plumber.

You sod. Feed me a little bit of info, then reel me in like a nice juicy catch. Couldn't you give me just one little freebie? Please?
 

Advertisers

Back
Top