[求助]数据库乱码求助!
<P>我将dat文件恢复后,数据库中的中文数据全部是乱码,请问如何解决!我已将local.dat中的NT下的字符修改为cp850了,仍然是乱码!在线等待!急!谢谢</P> 你创建的服务所采用的字符集与备份文件中的不一致。请查看备份日志,上面应该有warning<br> <P>怎么查看呢?</P> 仔细阅读备份日志。 <P>日志中有这样的语句:</P><P>00:00000:00001:2005/12/09 10:05:21.42 serverSQL Server's default unicode sort order is 'binary'.<BR>00:00000:00001:2005/12/09 10:05:21.42 serverSQL Server's default sort order is:<BR>00:00000:00001:2005/12/09 10:05:21.42 server 'bin_cp850' (ID = 50)<BR>00:00000:00001:2005/12/09 10:05:21.42 serveron top of default character set:<BR>00:00000:00001:2005/12/09 10:05:21.42 server 'cp850' (ID = 2).</P>
<P>请问能看出来是什么字符吗?</P>
CP850的啊~~查查以前有人问过的,看看如何设置 <P>我已将\sybases\locales\locales.dat中的文件作了如下改动,可还是不行,问题出在哪里?</P>
<P><BR> locale = enu, us_english, iso_1<BR> locale = fra, french, iso_1<BR> locale = deu, german, iso_1<BR> locale = rus, russian, cp1251<BR> locale = hun, us_english, cp1250<BR> locale = ell, us_english, cp1253<BR> locale = heb, us_english, cp1255<BR> locale = ara, us_english, cp1256<BR> locale = trk, us_english, cp1254<BR> locale = esp, spanish, iso_1<BR> locale = jpn, japanese, sjis<BR> locale = japanese, japanese, sjis<BR> locale = chs, chinese, eucgb<BR> locale = cht, tchinese, big5<BR> locale = kor, korean, cp949<BR> locale = us_english.utf8, us_english, utf8<BR> locale = default, us_english, cp850</P>
<P>将locale = default, us_english, iso_1修改为locale = default, us_english, cp850</P>
<P>以前的帖子就这么说得,可还是不行啊,帮帮忙啊,各位!</P>
页:
[1]