阅读背景:

将中文字符串作为UTF-8插入MySQL LongBlob列

来源:互联网 

By doing this:

通过做这个:

File file1 = new File("/usr/local/test/multipartMimeMsg.txt");
            FileOutputStream fos1 = new FileOutputStream(file1);
            String s = byteArrayToHexString(multipartMimeMsg.getBytes());
            fos1.write(s.getBytes(), 0, s.getBytes().length);
File file1 = new File



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: