Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

We have a project where we need to convert weird characters generated from all kinds of file formats into ASCII due to compatibility issues. Is it possible in Sublime Text 2 to convert the encoding of a document to ASCII? We can't convert it to ANSI because that includes more characters that are not supported.

Thanks

share|improve this question
1  
7-bit ASCII has no support for "weird characters". So you want to just remove them from the file? If so, open with any 8 bit encoding and search for regular expression [\x80-\xff], replacing it with nothing. –  Daniel Beck Jan 16 '13 at 15:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.