On Fri, May 13, 2011 at 11:49 AM, Richard Hipp <[email protected]> wrote:
> I18N windows users: please try this version:
>
> http://www.fossil-scm.org/download/fossil-w32-20110513154610.zip
>
> This newer version translates the UTF8 used internally by Fossil into the
> code page obtained from GetConsoleCP() prior to displaying the text.
> Formerly, the UTF8 was being translated into the CP_ACP code page, which is
> the code page used for filenames passed to system calls. The two are
> different, it seems. I think with this change, we might be close to fixing
> the I18N problems. Please try it out and let me know.
>
> Rebuild from sources if you are able. Thanks!
>
> On Fri, May 13, 2011 at 10:26 AM, Richard Hipp <[email protected]> wrote:
>>
>> If you are using Fossil on windows with a non-ASCII character set, and
>> especially if you are having trouble, please consider using the windows-i18n
>> branch build that can be downloaded from
>>
>> http://www.fossil-scm.org/download/fossil-w32-20110513142012.zip
>>
>> Getting command-line programs to work correctly on windows is a real
>> problem. I have yet to find anybody who can explain how to do it. But if
>> we keep plugging at the problem, perhaps we'll eventually get it right.
>> Your feedback is important. If you are able to run Fossil in a debugger and
>> provide clues about how we could do windows I18N better, that would be even
>> better.
>>
>> Anyone with ideas on how to get a command-line program working reliably on
>> I18N windows, please speak up.
>>
I got same result as my last test with previous version:
--%<---------------------------------------------------------------------------------------------------
C:\Documents and Settings\mgagnon\fossil\testi18n>fslu init i18n.fossil
project-id: afe51f5b4d8d3f488be691980dfd769b84b2a8fb
server-id: 33e46bcb5ffa6d022a150e005bc368388251f2dc
admin-user: mgagnon (initial password is "59346f")
C:\Documents and Settings\mgagnon\fossil\testi18n>fslu open i18n.fossil
C:\Documents and Settings\mgagnon\fossil\testi18n>notepad bolé.txt
C:\Documents and Settings\mgagnon\fossil\testi18n>dir
Volume in drive C has no label.
Volume Serial Number is 3807-8679
Directory of C:\Documents and Settings\mgagnon\fossil\testi18n
13/05/2011 12:37 <DIR> .
13/05/2011 12:37 <DIR> ..
13/05/2011 12:37 10 bolé.txt
13/05/2011 12:34 56,320 i18n.fossil
13/05/2011 12:34 7,168 _FOSSIL_
3 File(s) 63,498 bytes
2 Dir(s) 12,717,309,952 bytes free
C:\Documents and Settings\mgagnon\fossil\testi18n>fslu add bolé.txt
ADDED bolé.txt
C:\Documents and Settings\mgagnon\fossil\testi18n>fslu ci
# Enter comments on this check-in. Lines beginning with # are ignored.
# The check-in comment follows wiki formatting rules.
#
# user: mgagnon
# tags: trunk
#
# ADDED bolé.txt
#
# Since no default text editor is set using EDITOR or VISUAL
# environment variables or the "fossil set editor" command,
# and because no check-in comment was specified using the "-m"
# or "-M" command-line options, you will need to enter the
# check-in comment below. Type "." on a line by itself when
# you are done:
C:\WINDOWS\fslu.exe: short write: 520 of 521 bytes to -
C:\Documents and Settings\mgagnon\fossil\testi18n>fslu ver
This is fossil version [55b32701a5] 2011-05-13 15:46:10 UTC
--%<---------------------------------------------------------------------------------------------------
--
Martin
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users