Hello, Anton. To get a charset from the DataFlavor object there is a utility method: DataFlavorUtils.getTextCharset. Could you please reuse this method, it's more precise than a fallback to plain unicode.
With best regards. Petr. On 14 нояб. 2014 г., at 16:49, Anton Nashatyrev <[email protected]> wrote: > Hello, > could you please review the following fix: > > fix: http://cr.openjdk.java.net/~anashaty/8059739/9/webrev.00/ > <http://cr.openjdk.java.net/%7Eanashaty/8059739/9/webrev.00/> > bug: https://bugs.openjdk.java.net/browse/JDK-8059739 > > BasicTransferable should create InputStream for text with respect to > 'charset' MIME parameter. > > Thanks! > Anton.
