Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: Using ASP to print chinese character


Message #1 by "weixian" <weixian@a...> on Tue, 1 Oct 2002 09:19:45 +0800
Hi All,
 
Is there anyway I can use asp to print chinese character from the server
end? Currently, I am
using a third party component ?aspPrint? to do that, but it doesn?t work
for chinese character.
 
I?ve tried using Wscript too, but it gave me the same result too
(corrupted texts). Can someone
Please help me with this. Thank you.
 
 
Best Regards,
Lau Wee Shian
 

Message #2 by Teng-Fong SEAK <tfseak@f...> on Tue, 1 Oct 2002 10:44:10 +0200
5oiR5pyq6Kmm6YGO55SoIGFzcCDlgZrkuK3mlofntrLpoIEsIOaIluiAheS9oOWPr+S7peippuip
puWcqCBhc3Ag5qqU6ZaL6aCt5Yqg5LiKIHNlcnZlci1zaWRlIGNvZGVwYWdlLCDlpoLpgJnmqKM6
DQo8JUAgTGFuZ3VhZ2U9SlNjcmlwdCBDb2RlUGFnZT0xMjUyICU+DQrpgJnoo6EsIDEyNTIg5Luj
6KGoIGxhdGluLTEsIOS9oOWPr+S7peeUqCA2NTAwMSDku6PooaggdXRmLTgg5oiWIDk1MCDku6Po
oaggYmlnNQ0KDQrnhLblvozlnKggSHRtbCBjb2RlIOWFp+WKoOWFpSBjbGllbnQtc2lkZSBlbmNv
ZGluZywg6YCZ5qij5oeJ6Kmy5piv6JCs54Sh5LiA5aSxOg0KPCUgUmVzcG9uc2UuY2hhcnNldCgi
VVRGLTgiKSAlPg0KPG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0
L2h0bWw7IGNoYXJzZXQ9dXRmLTgiPg0KDQrkvaDlj6/ku6XlsIcgdXRmLTgg6L2J5oiQIGJpZzUs
IOS9huaIkeW7uuitsOS9oOeUqCB1bmljb2RlLCDlj6/pnaDlvojlpJrjgIINCg0K56Wd5aW96YGL
DQoNCuixkA0K
Message #3 by "weixian" <weixian@a...> on Tue, 1 Oct 2002 17:21:46 +0800
What I'm saying is that I can use asp to display chinese HTML,
But when I try to send chinese characters to printer, the printer
Will print out a lot of "???". 
 
Lau Wee Shian
 
-----Original Message-----
From: Teng-Fong SEAK [mailto:tfseak@f...] 
Sent: Tuesday, October 01, 2002 4:44 PM
To: ASP components
Subject: [asp_components] RE: Using ASP to print chinese character
 
æ??æ?ªè©¦é??ç?¨ asp å??中æ??ç¶²é ?, æ??è??ä½ å?¯ä»¥è©¦è©¦å?¨ asp æª?é??é ­å? ä¸? server-side codepage, å¦?é??樣:
<%@ Language=JScript CodePage=1252 %>
é??裡, 1252 代表 latin-1, ä½ å?¯ä»¥ç?¨ 65001 代表 utf-8 æ?? 950 代表 big5
 
ç?¶å¾?å?¨ Html code å?§å? å?¥ client-side encoding, é??樣æ??該æ?¯è?¬ç?¡ä¸?失:
<% Response.charset("UTF-8") %>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 
ä½ å?¯ä»¥å°? utf-8 è½?æ?? big5, ä½?æ??建議你ç?¨ unicode, å?¯é? å¾?å¤?ã??
 
ç¥?好é??
 
è±?
b.ç®·\&v ('z{ljâ??Ì?" &NÊ? rzǧujyâ??å?¨^jí¼«í²?('z{l^ n jp\`jxâ??Ê?b{m Ú?+(â??í¨­)h{.n+Ç?zwZnVé??[hy毫)rwu Nvì?§
 &

Message #4 by Teng-Fong SEAK <tfseak@f...> on Tue, 1 Oct 2002 11:32:24 +0200
Dan is correct.  Furthermore, printer is on the client side, so I don't
think there's anything to do with ASP.

> -----Message d'origine-----
> De : weixian [mailto:weixian@a...]
> Envoy=E9 : mardi 1 octobre 2002 11:22
> =C0 : ASP components
> Objet : [asp_components] RE: Using ASP to print chinese character
>
>
> What I'm saying is that I can use asp to display chinese HTML,
> But when I try to send chinese characters to printer, the printer
> Will print out a lot of "???".
> 
> Lau Wee Shian
>

  Return to Index