Project

General

Profile

Actions

Bug #63398

open

Windows Unicode support

Added by Lucian Petrut 6 months ago. Updated 6 months ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
quincy,reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Windows CLI arguments use either ANSI (main()) or UTF-16 (wmain()). Meanwhile, Ceph libraries expect UTF-8 and raise exceptions when trying to use Unicode CLI arguments:

  rbd.exe create test_unicode_șțăâ --size=32M
  terminate called after throwing an instance of 'std::runtime_error'
    what():  invalid utf8

The same happens when attempting to log Unicode characters, which in particular affects ceph-dokan while logging Unicode paths.

Actions #1

Updated by Ilya Dryomov 6 months ago

  • Status changed from New to Fix Under Review
  • Backport set to quincy,reef
Actions

Also available in: Atom PDF