UTF-8 supports for copy & paste
Takao Fujiwara - Tokyo S/W Center
Takao.Fujiwara "at" Sun.COM
Wed Jan 14 09:20:01 2009
Hi,
I downloaded http://www.realvnc.com/docs/rfbproto.pdf
6.4.6 ClientCutText
The client has new ISO 8859-1 (Latin-1) text in its cut buffer. Ends of lines
are repre-
sented by the linefeed / newline character (value 10) alone. No carriage-return
(value
13) is needed. There is currently no way to transfer text outside the Latin-1
character
set.
However many desktop applications(e.g. GTK) can use the freedesktop specification and we can copy & paste multi-byte chars(UTF-8 and the current
encodings.).
http://standards.freedesktop.org/clipboards-spec/clipboards-0.1.txt
Are there any plans to update the RFB specification for UTF-8 multi-byte chars?
I think working with UTF-8 can support lots of languages.
I'd like to think if an application sends UTF-8 strings, it doesn't break the RFB specification.
If UTF-8 is ok with UTF_8 atom, we also can support none UTF-8 users to convert to the current encoding with iconv.
Thanks,
fujiwara