[ 
https://issues.apache.org/jira/browse/GUACAMOLE-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Couchman closed GUACAMOLE-2272.
------------------------------------
    Fix Version/s: 1.6.1 [staging]
       Resolution: Implemented

> VNC: add MacRoman clipboard encoding support.
> ---------------------------------------------
>
>                 Key: GUACAMOLE-2272
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-2272
>             Project: Guacamole
>          Issue Type: Improvement
>          Components: VNC
>    Affects Versions: 1.6.0, 1.6.1 [staging]
>            Reporter: Bradley Bennett
>            Priority: Minor
>             Fix For: 1.6.1 [staging]
>
>
> Add VNC *MacRoman* clipboard encoding support, similar to the existing 
> *CP1252* (Windows-1252) support.
> This was prompted by a *Guacamole VNC session* to *macOS VNC server* (Screen 
> Sharing) ** where pasting *UTF-8* text produced garbage characters instead of 
> the expected accented characters and punctuation. Selecting *MacRoman* for 
> the clipboard encoding preserved the text correctly, which indicates the 
> session clipboard path needs MacRoman conversion support.
> This change will add MacRoman as another selectable clipboard encoding and 
> convert MacRoman text to/from Unicode/UTF-8 using the Apple Roman mapping 
> table. It will preserve MacRoman-supported characters like accented Western 
> European text, curly quotes, ...
> MacRoman is a legacy single-byte encoding, so it will not (and cannot) 
> support characters outside that character set. Unsupported text such as 
> Japanese, Chinese, Cyrillic, ... will still need *UTF-8/Unicode* end-to-end 
> support and may be replaced, dropped, or fail conversion when MacRoman is 
> selected.
> This fix will require changes in both:
>  * {*}guacamole-client{*}: add MacRoman as a selectable clipboard-encoding 
> option.
>  * {*}guacamole-server{*}: implement MacRoman conversion support.
> h1. Examples
> When pasting, the following, which is composed of *MacRoman* supported 
> characters:
> {code:java}
> café naïve résumé señor über Ångström æ ø ¿ ¡ “quotes” — ellipsis… {code}
> We get the following results:
> {code:java}
> ISO 88591-1: cafÈ naÔve rÈsumÈ seÒor ¸ber ¬ngstrˆm … ?quotes? ? ellipsis?
> UTF-8:       caf√© na√Øve r√©sum√© se√±or √ºber √Öngstr√∂m … ‚Äúquotes‚Äù ‚Äî 
> ellipsis…
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to