---
title: "eclipse ant 编译 中文乱码问题"
author: "wangpj"
date: "2012-11-19T15:22:50Z"
tags: []
categories: ["开源软件"]
slug: "eclipse-ant"
draft: false
lastmod: "2012-11-19T15:22:50Z"
id: 1729537
url: "https://wangpj.iteye.com/blog/1729537"
---

eclipse ant 编译 中文乱码问题
在 javac 下加encoding="UTF-8"
<javac debug="true" srcdir="${src}" destdir="${dest}" target="1.5" source="1.5" encoding="UTF-8">