Comment 1 for bug 455503

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Raphael Toselli wrote:
> Public bug reported:
>
> I suspect that this error occurs when you have some weird character in
> the file/dir name where you try to start the new repository.
>
> Traceback as follows:
>
> bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode
> byte 0xc7 in position 3: ordinal not in range(128)

This is happening because you are doing "bzr init" in a directory with
non-ascii filenames, but you have your system configured to believe it
is ascii. As such, we don't know how to decode the filenames. (The
traceback is bad, but we will fail one way or another later anyway.)

If you know how the filenames are encoded (such as UTF-8) you should be
able to do something like:
  export LANG=en_US.UTF-8

(or whatever your preferred language is.)

You might try:
  echo $LANG

to see what your lang is set to already.

John
=;->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrd3NkACgkQJdeBCYSNAAMXKQCghVnovce1R9s+unYB4agAEyHe
zzMAoIq6nj6RsAab4Dlv4fWQJrl6eKWp
=uIS2
-----END PGP SIGNATURE-----