Updated Issue 204 - Monotone does not work with non-ANSI symbols on Windows with Russian locale (monotone)

[email protected]
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
Hello,

The following issue has been updated:

204 - Monotone does not work with non-ANSI symbols on Windows with Russian locale
Project: monotone
Status: New
Reported by: Anton Zimin
URL: https://code.monotone.ca/p/monotone/issues/204/
Labels:
 Type:Defect
 Priority:Medium

Comments (last first):

# By Anton Zimin, Mar 14, 2012:

Also I've tried to manually edit _MTN/revision in UTF-8 without BOM this way:

format_version "1"

new_manifest [0000000000000000000000000000000000000002]

old_revision []

add_dir ""

add_dir "Папка"


Monotone reads this file as ASCII but not UTF-8:

C:\temp\mtntest>mtn status
mtn: fatal: error: failed to convert string from UTF-8 to ASCII: 'Р?апка'
mtn: This is almost certainly a bug in monotone.
mtn: Please report this error message, the output of 'mtn version --full',
mtn: and a description of what you were doing to 'https://code.monotone.ca/p/mon
otone/issues/'.
mtn: wrote debugging log to C:/temp/mtntest/_MTN/debug
mtn: if reporting a bug, please include this file

Attachments:
- debug - 1.75 kB
  https://code.monotone.ca/p/monotone/issues/view/attachment/44/debug


# By Anton Zimin, Mar 14, 2012:

Steps to reproduce the problem:
-------------------------------

1. Create empty database. Setup a branch.
2. Create new folder with name in Russian ('Папка' in my case).
3. mtn add . -R

Expected result:
----------------
Folder must be included into repository.

Actual results:
---------------
C:\temp\mtntest>mtn add . -R
mtn: warning: skipping directory 'Папка' with unsupported name

Output of `mtn version --full`:
-------------------------------
monotone 1.0 (base revision: unknown)
Running on          : Windows NT/2000/XP/2003 (6.1, build 7601, Service Pack 1)
on ia32 (level 6, rev 3853)
C++ compiler        : GNU C++ version 4.5.2
C++ standard library: GNU libstdc++ version 20101216
Boost version       : 1_46_1
SQLite version      : 3.7.5 (compiled against 3.7.5)
Lua version         : Lua 5.1
PCRE version        : 8.12 2011-01-15 (compiled against 8.12)
Botan version       : 1.8.11 (compiled against 1.8.11)
Changes since base revision:
unknown



--
Issue: https://code.monotone.ca/p/monotone/issues/204/

_______________________________________________
Monotone-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/monotone-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.