---
title: "Eclipse“警告： 编码 GBK 的不可映射字符”的解决方法"
author: "hellostory"
date: "2010-12-10T10:04:00Z"
tags: []
slug: "eclipse-gbk"
draft: false
lastmod: "2012-02-22T11:13:31Z"
id: 1416491
url: "https://hellostory.iteye.com/blog/1416491"
---

在Eclipse菜单中做如下设置：

project -&gt; Generate javadoc -&gt;按“Next”一步步设置。其中在VM设置中加入以下代码：

-encoding utf-8 -charset utf-8