惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
F
Fortinet All Blogs
Cloudbric
Cloudbric
P
Palo Alto Networks Blog
T
Threatpost
T
Tor Project blog
T
Tenable Blog
AWS News Blog
AWS News Blog
Project Zero
Project Zero
L
LangChain Blog
Cyberwarzone
Cyberwarzone
Engineering at Meta
Engineering at Meta
雷峰网
雷峰网
C
CERT Recently Published Vulnerability Notes
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Security Latest
Security Latest
云风的 BLOG
云风的 BLOG
I
Intezer
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
P
Proofpoint News Feed
A
Arctic Wolf
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News
V
Vulnerabilities – Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
MongoDB | Blog
MongoDB | Blog
aimingoo的专栏
aimingoo的专栏
K
Kaspersky official blog
Jina AI
Jina AI
N
News | PayPal Newsroom
T
The Blog of Author Tim Ferriss
D
DataBreaches.Net
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
博客园 - 【当耐特】
Hugging Face - Blog
Hugging Face - Blog
Recorded Future
Recorded Future
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Secure Thoughts
TaoSecurity Blog
TaoSecurity Blog
P
Privacy & Cybersecurity Law Blog
P
Proofpoint News Feed
MyScale Blog
MyScale Blog
IT之家
IT之家
Forbes - Security
Forbes - Security
The Hacker News
The Hacker News
Last Week in AI
Last Week in AI
T
Threat Research - Cisco Blogs
Y
Y Combinator Blog

博客园 - Rookie.Zhang

搬家到CSDN通知 百度网盘推荐 推荐使用金山快盘,15G超大免费空间 Jboss的SSL的配置【转】 VC7(VS2003.net)中开发ActiveX控件相关【转】 腾讯:将收购Riot Games多数股权 谷歌换帅 佩奇将接任CEO[转] FreeMarker笔记 2011年熱門電子產品搶先看 【转】dom4j通过xpath查询xml - Rookie.Zhang - 博客园 【转】关于eclipse和javac编译结果不一致的问题的分析与解决 【转】 利用 Java dump 进行 JVM 故障诊断 【转】java jvm 参数 -Xms -Xmx -Xmn -Xss 调优总结 桌面拖动的图标不消失如何处理? 蘋果將推出速度更快的新操作系統 Flex开源了【保留】 IE7、8不能使用Oracle EBS的问题解决 蘋果iPhone 3G S更出色 今天和大家分享一些有关高级Oracle数据库(4)收藏
关于Java压缩时中文文件名处理
Rookie.Zhang · 2009-06-24 · via 博客园 - Rookie.Zhang

java带的标准zip工具对中文处理先天不足,apache的ant项目中带了一个zip工具,可以用来处理中文文件名,在windows下不用做特别处理,在Unix系统下如果有问题,注意添加下面一句:

ZipOutputStream zipOut = new ZipOutputStream(new BufferedOutputStream(response.getOutputStream()));

zipOut.setEncoding("GBK");