---
title: "怎样在eclipse中设置编译后的class字符集编码"
author: "holoblog"
date: "2011-10-18T14:21:00Z"
tags: []
slug: "eclipse-class"
draft: false
lastmod: "2011-11-09T12:05:34Z"
id: 1245561
url: "https://holoblog.iteye.com/blog/1245561"
---

```
在Windows->Preference->General->Content Types ,在右边选择Text->java source file,再在最下面的Default encoding里填入你的字符集编码比如UTF-8
```