---
title: "ftpClient解决中文乱码问题"
author: "duyunfengsolo"
date: "2009-08-12T15:27:14Z"
tags: ["ftpclient解决中文乱码问题"]
slug: "ftpclient"
draft: false
lastmod: "2009-08-12T15:28:26Z"
id: 445581
url: "https://solodu.iteye.com/blog/445581"
---

```
ftpClient.setControlEncoding("GBK");
FTPClientConfig conf = new FTPClientConfig(FTPClientConfig.SYST_NT);
conf.setServerLanguageCode("zh");

```

 

这个我还没有碰到过，因为我是做美国的项目，所以不会碰到这个问题，这个仅仅是为以后做准备。

这里有正确的答案：[http://www.docin.com/othello](http://www.docin.com/othello) 我是从他上面复制的。