🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #18452

Re: [jsp]���ڴ�sql server2k��ȡ������ݵ���ʾ����

#18452
From: javaphp
Date: Thu, 12 Feb 2004 00:54
19 lines
1887 bytes
��û���Թ���û����ע���ŵ���ݸ�ʽ��ʵ�ڲ��о�������utf-8��

--
���ѡ��ǽǡ��ڡ�Re: [jsp]���ڴ�sql server2k��ȡ������ݵ���ʾ���⡷һ����д��:

>
>
>
>
>���Dz��а������ǽ����ı���Ϊ8859-1�������
>��ģ��ܲ��ܽ���ݿ�洢��ʽ��Ϊgb2312?�� �� javaphp. �Ĵ������ᵽ: ��
>: new String(s.getBytes("ISO8859-1"), "gb2312");

--
�ս����һ��վ�㣬������ͬ��Ȥ�����Ѽ��ˣ�
ÿ�ܶ����и��£������к���Ķ�����������أ�
��ӭ���٣�

http://www.javaphp.com/
Technical Details
Message-ID: <pljl20h5n9tmmbm0u5dcr48sjc528h1nan@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!cyclone.bc.net!sjc70.webusenet.com!news.usenetserver.com!maily.cic.tsinghua.edu.cn!news.cn99.com!news.yaako.com!not-for-mail
References: <4Ab0XI$ASP@freecity.cnzju.net>

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,cfcc0dce0c6589d1
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2004-02-11 16:54:44 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!cyclone.bc.net!sjc70.webusenet.com!news.usenetserver.com!maily.cic.tsinghua.edu.cn!news.cn99.com!news.yaako.com!not-for-mail
From: javaphp <javaphp@sohu.com>
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: [jsp]���ڴ�sql server2k��ȡ������ݵ���ʾ����
Date: Thu, 12 Feb 2004 08:54:50 +0800
Organization: Bentium Ltd. (CN99)
Lines: 19
Message-ID: <pljl20h5n9tmmbm0u5dcr48sjc528h1nan@4ax.com>
References: <4Ab0XI$ASP@freecity.cnzju.net>
Reply-To: javaphp@sohu.com
NNTP-Posting-Host: 211.157.16.205
Mime-Version: 1.0
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 8bit
X-Trace: news.yaako.com 1076547203 26628 211.157.16.205 (12 Feb 2004 00:53:23 GMT)
X-Complaints-To: usenet@news.yaako.com
NNTP-Posting-Date: Thu, 12 Feb 2004 00:53:23 +0000 (UTC)
X-Newsreader: Forte Agent 1.8/32.548