> Od: "Martin Gagnon" <[email protected]>
> Komu: [email protected]
> Datum: 20.05.2011 17:25
> Předmět: Re: [fossil-users] Pre-built binary for I18N windows

>For wrong character display on console, have you try to change you codepage
>to utf-8 (using: chcp 65001). It's what I should do to make it work
>properly.

Thanks for hint.
Operating fossil in dos box switched to unicode display
makes fossil messages mostly(e.g. diff did not display stuff correcly)
show correct content.
Unicode display brings its own issues (quite unable to execute batch scripts)

Thanks 
Peter

Bellow are some tests results illustrating my points above:

c:softbin>fossil ver
This is fossil version [7fb5e64139] 2011-05-20 15:50:30 UTC
[this is slightly patched fossil version [4b3425401f]]
[switch to unicode cp in dos box]
c:softbin>chcp 65001
Aktivní znaková stránka: 65001
[made changes to checked in file]
c:softbin>fossil stat
repository:   c:/soft/bin/test_repo.fossil
local-root:   c:/soft/bin/
server-code:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
checkout:     e4a00c3bfc882edd07ad576647d6b4b30a6170e4 2011-05-20 14:39:31 UTC
parent:       773622f26709f08ec632504ac4d64873b7bd4ebd 2011-05-20 14:32:35 UTC
tags:         trunk
comment:      added lines to file .test_čísla.txt (user: user)
EDITED     test_čísla.txt

c:softbin>fossil diff
Index: test_čísla.txt
===================================================================
--- test_čísla.txt
+++ test_čísla.txt
@@ -1,4 +1,5 @@
 Czech part of the name of this file means "numbers" in English
 jedna       one
 dv         two
 ti         three
+tyi       four
[output of diff commad does not show correct lines]

c:softbin>fossil ci -m "added one more line to file .test_čísla.txt"
New_Version: 5d2d13291ba5afb53d54d2010d7bf3df558e12e1

c:softbin>fossil info
project-name: <unnamed>
repository:   c:/soft/bin/test_repo.fossil
local-root:   c:/soft/bin/
user-home:    C:/Documents and Settings/user/Data aplikací
project-code: 99972e9e3dbd9ea4b5ed9e4d21c3689dd812fe8a
server-code:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
checkout:     5d2d13291ba5afb53d54d2010d7bf3df558e12e1 2011-05-20 16:00:10 UTC
parent:       e4a00c3bfc882edd07ad576647d6b4b30a6170e4 2011-05-20 14:39:31 UTC
tags:         trunk
comment:      added one more line to file .test_čísla.txt (user: user)


>Martin
>
>On Fri, May 20, 2011 at 11:07 AM, Petr Ferdus <[email protected]> wrote:
>
>>
>> > Od: "Richard Hipp" <[email protected]>
>> > Komu: [email protected]
>> > Datum: 20.05.2011 13:43
>> > Předmět: Re: [fossil-users] Pre-built binary for I18N windows
>> >
>> >Please try again with the latest code:
>> >
>> >   http://www.fossil-scm.org/download/fossil-w32-20110520113920.zip
>> >
>> >Let me know what you find, either way.  Thanks!   And not just Martin, but
>> >all windows users, if you can give the snapshot above a try and then
>> report
>> >your results to me via private email, that would be very helpful.  Thanks.
>>
>>
>>
>> Please see results of my tests below. Summary notes:
>> - it seems to operate on files with diacritical characters in name.
>> - what is checked into repository is a true content of the file
>> - on DOS console there seem to be always mix of correctly displayed file
>> names("test_čísla.txt") and messed ones (" test_¦Ź+şsla.txt")
>> - in browser GUI I see either correctly spelled filenames or correct file
>> content but not both at the same time - Content of text file is in
>> windows-1250 encoding and fossil generated headers (e.g. "[63ee28542be0c6fc]
>> part of check-in [e4a00c3bfc] added lines to file .test_ÄŤĂ­sla.txt (user:
>> user branch: trunk)") seem to be always encoded in UTF-8 - would be nice to
>> be able "harmonize/control" display of  file content and fossil generated
>> stuff.
>>
>>  Would you like to check something else just let me know.
>>
>> Thanks.
>>
>> Peter
>>
>> c:softbin>fossil new .test_repo.fossil
>> project-id: 99972e9e3dbd9ea4b5ed9e4d21c3689dd812fe8a
>> server-id:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
>> admin-user: user (initial password is "34af6d")
>> [with help of text editor create file named test_čísla.txt and add it to
>> repo]
>> dir test*.txt
>> c:softbin>dir test*.txt
>> 20.05.2011  16:27                63 test_čísla.txt
>>               1 souborů,             63 bajtů
>> c:softbin>fossil open .test_repo.fossil
>>
>> c:softbin>fossil add .test_čísla.txt
>> c:softbinfossil.exe: not within an open checkout
>>
>> c:softbin>fossil add .test_čísla.txt
>> ADDED  test_čísla.txt
>>
>> c:softbin>fossil diff
>> ADDED    test_¦Ź+şsla.txt
>>
>> c:softbin>fossil ci -m "added file .test_čísla.txt"
>> New_Version: 773622f26709f08ec632504ac4d64873b7bd4ebd
>>
>> c:softbin>fossil stat
>> repository:   c:/soft/bin/test_repo.fossil
>> local-root:   c:/soft/bin/
>> server-code:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
>> checkout:     773622f26709f08ec632504ac4d64873b7bd4ebd 2011-05-20 14:32:35
>> UTC
>> parent:       f1bce4bd9a575d1a513050c107ebf63b2a340520 2011-05-20 14:13:00
>> UTC
>> tags:         trunk
>> comment:      added file .test_čísla.txt (user: user)
>> [edit file .test_čísla.txt add so lines into it]
>>
>> c:softbin>fossil stat
>> repository:   c:/soft/bin/test_repo.fossil
>> local-root:   c:/soft/bin/
>> server-code:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
>> checkout:     773622f26709f08ec632504ac4d64873b7bd4ebd 2011-05-20 14:32:35
>> UTC
>> parent:       f1bce4bd9a575d1a513050c107ebf63b2a340520 2011-05-20 14:13:00
>> UTC
>> tags:         trunk
>> comment:      added file .test_čísla.txt (user: user)
>> EDITED     test_¦Ź+şsla.txt
>>
>> c:softbin>fossil diff
>> Index: test_¦Ź+şsla.txt
>> ===================================================================
>> --- test_¦Ź+şsla.txt
>> +++ test_¦Ź+şsla.txt
>> @@ -1,1 +1,4 @@
>>  Czech part of the name of this file means "numbers" in English
>> +jedna       one
>> +dvý         two
>> +t°i         three
>>
>> c:softbin>fossil ci -m "added lines to file .test_čísla.txt"
>> New_Version: e4a00c3bfc882edd07ad576647d6b4b30a6170e4
>>
>> c:softbin>fossil stat
>> repository:   c:/soft/bin/test_repo.fossil
>> local-root:   c:/soft/bin/
>> server-code:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
>> checkout:     e4a00c3bfc882edd07ad576647d6b4b30a6170e4 2011-05-20 14:39:31
>> UTC
>> parent:       773622f26709f08ec632504ac4d64873b7bd4ebd 2011-05-20 14:32:35
>> UTC
>> tags:         trunk
>> comment:      added lines to file .test_čísla.txt (user: user)
>> ----
>> c:softbin>fossil info
>> project-name: <unnamed>
>> repository:   c:/soft/bin/test_repo.fossil
>> local-root:   c:/soft/bin/
>> user-home:    C:/Documents and Settings/user/Data aplikací
>> project-code: 99972e9e3dbd9ea4b5ed9e4d21c3689dd812fe8a
>> server-code:  5b10762b4943ea22f89a2bd3e355fb4f3e08080a
>> checkout:     e4a00c3bfc882edd07ad576647d6b4b30a6170e4 2011-05-20 14:39:31
>> UTC
>> parent:       773622f26709f08ec632504ac4d64873b7bd4ebd 2011-05-20 14:32:35
>> UTC
>> tags:         trunk
>> comment:      added lines to file .test_čísla.txt (user: user)
>>
>> c:softbin>fossil diff
>> _______________________________________________
>> fossil-users mailing list
>> [email protected]
>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>>
>
>_______________________________________________
>fossil-users mailing list
>[email protected]
>http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to