Comment 0 for bug 383102

Revision history for this message
Alexander Belchenko (bialix) wrote : bzr search can't find non-ascii text

C:\Temp\5>echo тест > Тест.txt

C:\Temp\5>bzr st
modified:
  Тест.txt

C:\Temp\5>bzr ci -m2
Committing to: C:/Temp/5/
modified Тест.txt
Committed revision 2.

C:\Temp\5>bzr index

C:\Temp\5>bzr search foo
'#1058;&#1077;&#1089;&#1090;.txt in revision '<email address hidden>'. Summary: 'foo

C:\Temp\5>bzr search тест
bzr: ERROR: No matches were found for the search [u'\u0442\u0435\u0441\u0442'].

As you could see search tries to search unicode text in the plain file (cp1251 encoded). It's never could match.