https://bugs.freedesktop.org/show_bug.cgi?id=68790

--- Comment #3 from Tomofumi Yagi <[email protected]> ---
Created attachment 85353
  --> https://bugs.freedesktop.org/attachment.cgi?id=85353&action=edit
Patch for escaping UTF-8 chars

I attached a patch for escaping UTF-8 chars in .hrc file.

After all,I think that *.hrc file with BOM is better.

Escaping UTF-8 chars method has two disadvantages.

One is that Converted strings are very long.
This often occurs preprocessor error(the input line is too long).

Two is that it makes code unreadable.

I show an example.

1) Text[ en-US ] = "~Host name";
2) Text[ ja ] = "ใƒ›ใ‚นใƒˆๅ(~H)"; // String of Japanese(UTF-8)
3) Text[ ja ] = "\xe3\x83\x9b\xe3\x82\xb9\xe3\x83\x88\xe5\x90\x8d(~H)"; //
Escaped string of Japanese(UTF-8)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to