13414
|
1 Test that translations are compiled and installed correctly.
|
|
2
|
|
3 Default encoding in tests is "ascii" and the translation is encoded
|
|
4 using the "replace" error handler:
|
|
5
|
|
6 $ LANGUAGE=pt_BR hg tip
|
|
7 abortado: N?o h? um reposit?rio do Mercurial aqui (.hg n?o encontrado)!
|
|
8 [255]
|
|
9
|
|
10 Using a more accomodating encoding:
|
|
11
|
|
12 $ HGENCODING=UTF-8 LANGUAGE=pt_BR hg tip
|
|
13 abortado: N\xc3\xa3o h\xc3\xa1 um reposit\xc3\xb3rio do Mercurial aqui (.hg n\xc3\xa3o encontrado)! (esc)
|
|
14 [255]
|
|
15
|
|
16 Different encoding:
|
|
17
|
|
18 $ HGENCODING=Latin-1 LANGUAGE=pt_BR hg tip
|
|
19 abortado: N\xe3o h\xe1 um reposit\xf3rio do Mercurial aqui (.hg n\xe3o encontrado)! (esc)
|
|
20 [255]
|