There is two separate things:
1. VM (domain) names
2. window titles
The first one involves lots of code (gui-daemon, many core scripts, xen
configuration etc) and change to support non-ASCII characters here is
not trivial and even not planned in the near future.
The second one involves only gui-daemon and gui-agent code. This is the
place which you found. Right before XmbTextListToTextProperty the string
received from VM is passed to "sanitize_string_from_vm" function, which
replaces all non-ASCII characters with '_'.
This is done for security, any change in this code (all xside.c) must be
done _very carefully_.
Similar as in above: currently there is no support for non-ASCII
characters in window titles (will be replaced with '_'), but maybe will
be supported someday.
>
>
> 2011/5/5 Joanna Rutkowska <joa...@invisiblethingslab.com>
>
>> On 05/05/11 03:21, ml h wrote:
>>> Hello,I tried to create a domain which was named in Chinese.But failed
>> with
>>> the following message:
>>> Error:Errors were found at line 11 while processing
>>> /var/lib/qubes/appvms/加/加.conf
>>> Error:Cannot add VM '加‘ to Xen Store!
>>> I want to create a domain whose name is 加.
>>> Is it possible to success ?What should I do?
>>>
>>
>> We don't support unicode for VM names, so you must stick to good old
>> ASCII subset.
>>
>> j.
>>
>>
>
--
Pozdrawiam / Best Regards,
Marek Marczykowski | RLU #390519
marmarek at mimuw edu pl | xmpp:marmarek at staszic waw pl