File-types/encodings

Martin Pool mbp at sourcefrog.net
Mon Jan 14 02:39:17 GMT 2008


On 10/01/2008, Marcus Sundman <sundman at iki.fi> wrote:
> Hi,
>
> How can I tell bzr what types my files are (including, but not limited
> to, what encodings my text files use)? I mean, obviously diff tools
> etc. must know how to interpret the files they operate on (e.g., I
> don't want 'ä' to be shown as '}' or cause some error because its
> iso-8859-1 encoded byte is invalid when the diff tool read it as utf-8,
> or whatever), but I can't seem to find where to enter this information.
> Also, does bzr have something like subversion's auto-props (although
> perhaps something that might actually work with basic things like
> "text/html;charset=utf-8")?

We don't track character sets explicitly (at the moment).  bzr's
builtin diff should not care whether the file is iso-8859-1 or utf-8
or similar character sets.

-- 
Martin



More information about the bazaar mailing list