213
edits
| Line 112: | Line 112: | ||
== Review comments == | == Review comments == | ||
* The pref-truncating code should check that it's not truncating on half a surrogate pair | * The pref-truncating code should check that it's not truncating on half a surrogate pair | ||
* Are there problems with the length calculation on calls to setTransferData in the presence of Unicode surrogate pairs? | |||
** transferable.setTransferData("text/html", ssHtml, dataHtml.length * 2); | |||
** transferable.setTransferData("text/unicode", ssText, dataText.length * 2); | |||
edits