After getting feedback that my original clipboard code doesn't handle all scenarios, especially with Chrome, I went back to the code to get a better understand of what's going on and find the correct way to set plain text and HTML snippet to clipboard.
- Setting plain text and html data.
- Unicode support for plain text.
- Clipboard HTML format
- Parts start/end offsets.
- StartFragment/EndFragment comments.
- <html> and <body> elements.
- Unicode handling.