[TxMt] Save as... and File Encoding

José Campos jose.campos+tm at galacsys.com
Sun Nov 14 11:52:11 UTC 2004


    Hi All,

    When "Saving as" a document using for instance "iso-latin-1" file
encoding, if the document contains a character that can not be saved
with this encoding, the file is automaticaly saved in UTF-8. OK, that's
the same with TextEdit. But the point is, we have no warning about it,
which could be confusing.

    Could we have a message box that display : 
    "your document cannot be saved in <the encoding you want>, 
    so what do you want to do :
        [] save as UTF-8
        [] edit your document to change exotic character(s)"

    And could we have too an utility to track down those characters that
prevent the file from being saved in the chosen encoding? Or does RegEx
Find/Replace allow it? 

    And (last) for HTML file, when saving, could TM match the
    <meta http-equiv="Content-Type" content="text/html; charset=xxx">
    with the File Encoding?

    Have a nice day,

-- 
  Jo                                         <W:00°04'37" ; N:47°15'36">

1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72



More information about the textmate mailing list