---
title: "因字符集设置错误引起Erlang ODBC出现ODBC_UNSUPPORTED_TYPE的错误"
author: "arksea"
date: "2010-05-24T16:22:22Z"
tags: ["Erlang", "HTML", "MySQL"]
categories: ["编程语言"]
slug: "erlang-odbc-odbc-unsupported-type"
draft: false
lastmod: "2010-05-24T16:22:22Z"
id: 673980
url: "https://arksea.iteye.com/blog/673980"
---

如题，上网搜了一通，找到几个类似的问题帖子，未找到答案。

 

[http://www.iteye.com/problems/24400](http://www.iteye.com/problems/24400)

[http://erlang.2086793.n4.nabble.com/MySQL-and-Erlang-ODBC-column-type-error-td2114134.html](http://erlang.2086793.n4.nabble.com/MySQL-and-Erlang-ODBC-column-type-error-td2114134.html)

 

无意间翻到DSN的属性，发现设置正确的字符集可以解决这个问题：

 

 

![](http://dl.iteye.com/upload/attachment/253967/f35515ed-2118-3ffc-b6c7-cf672f223f6e.jpg)