文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>postgresql copy UNICODE txt 问题。

postgresql copy UNICODE txt 问题。

时间:2011-01-20  来源:suzhouclark

d

从sqlserver 2005 导出的unicode的格式的txt.无法直接用copy导入到linux上的postgersql.

解决办法:

In adition of set the local encoding (Client and Server), if you are
runnning +nix there is a command called iconv that let you convert
from one charset to another. Always i used it, i never had any problems.
iconv -f UNICODE -t UTF-8 location.txt -o 1location.txt
相关阅读 更多 +
排行榜 更多 +
点赞小姐姐

点赞小姐姐

休闲益智 下载
火车向前冲

火车向前冲

休闲益智 下载
遭遇攻击任务

遭遇攻击任务

飞行射击 下载