Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access_asp thread: japanese/chinese language support


Message #1 by jake williamson 28 <jake.williamson@2...> on Thu, 07 Mar 2002 15:01:33 +0000
hello! new to the list so forgive me if i covering old ground...



we're trying to build a ASP application that will allow viewing of english,

japanese and chinese characters.



at the moment i've managed to create 3 tables in access 2000, import text

into them from respective word documents and create a record set page that

reads them back.



although all the appropriate language kits are installed on my pc, all i get

is a load of question marks!! for example, the english page reads:



title: shallow hall



the chinese and japanese reads:



title: ?????? ?????



what am i missing?? is it a case that asp pages cant read the characters

from access even though they display fine in the access tables??



thanks for any help out there!!



cheers,



jake



Message #2 by "Caroline & Hossein" <mach3@w...> on Thu, 7 Mar 2002 21:43:45 +0100
Hi

You should difine the code page for chinese & japanese in the top of your

page. I do not now if you write them from left to right or which direction.

Code page you can find in microsoft.com and direction 3w.org.

I know in farsi is <html dir=RTL>



Regards

Hossein





----- Original Message -----

From: "jake williamson 28" <jake.williamson@2...>

To: "Access ASP" <access_asp@p...>

Sent: Thursday, March 07, 2002 4:01 PM

Subject: [access_asp] japanese/chinese language support





> hello! new to the list so forgive me if i covering old ground...

>

> we're trying to build a ASP application that will allow viewing of

english,

> japanese and chinese characters.

>

> at the moment i've managed to create 3 tables in access 2000, import text

> into them from respective word documents and create a record set page that

> reads them back.

>

> although all the appropriate language kits are installed on my pc, all i

get

> is a load of question marks!! for example, the english page reads:

>

> title: shallow hall

>

> the chinese and japanese reads:

>

> title: ?????? ?????

>

> what am i missing?? is it a case that asp pages cant read the characters

> from access even though they display fine in the access tables??

>

> thanks for any help out there!!

>

> cheers,

>

> jake

>

>




$subst('Email.Unsub').

>



Message #3 by "Caroline & Hossein" <mach3@w...> on Thu, 7 Mar 2002 21:56:19 +0100

Maybe its help:

      Specifies or gets an integer that corresponds to a character set used

for in the dynamic content on the page, such as '950' for Chinese.



<%@ LANGUAGE=VBScript CODEPAGE=65001%>





----- Original Message -----

From: "jake williamson 28" <jake.williamson@2...>

To: "Access ASP" <access_asp@p...>

Sent: Thursday, March 07, 2002 4:01 PM

Subject: [access_asp] japanese/chinese language support





> hello! new to the list so forgive me if i covering old ground...

>

> we're trying to build a ASP application that will allow viewing of

english,

> japanese and chinese characters.

>

> at the moment i've managed to create 3 tables in access 2000, import text

> into them from respective word documents and create a record set page that

> reads them back.

>

> although all the appropriate language kits are installed on my pc, all i

get

> is a load of question marks!! for example, the english page reads:

>

> title: shallow hall

>

> the chinese and japanese reads:

>

> title: ?????? ?????

>

> what am i missing?? is it a case that asp pages cant read the characters

> from access even though they display fine in the access tables??

>

> thanks for any help out there!!

>

> cheers,

>

> jake

>

>




$subst('Email.Unsub').

>



Message #4 by jake williamson 28 <jake.williamson@2...> on Fri, 08 Mar 2002 15:58:27 +0000
hi hossein,



thank you for getting back to me - i've had some success!



the key seems to be the line:



<%@ LANGUAGE=VBScript CODEPAGE=65001%>



from what you've said this tells the dynamic date coming into the page that

it need to use the charater set for that language. this used with the

appropriate meta tags to encode the page just about works!



can i ask where you got the 'CODEPAGE=65001%' from? i've trawled the net

looking and these are the only no's i could find:



Japanese (932)

Chinese (Taiwan, Hong Kong) (950)



if i replace the 'CODEPAGE=65001%' with 'CODEPAGE=950' it breaks!



also, these are the metas i've managed to find:



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">



for gb and:



<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">



for big5



for japanese:



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<HTML lang="ja-JP">

<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">



any more info you have would be most appricated! it's getting there...



cheers,



jake





on 7/3/02 20:56, Caroline & Hossein at mach3@w... wrote:



> 

> Maybe its help:

> Specifies or gets an integer that corresponds to a character set used

> for in the dynamic content on the page, such as '950' for Chinese.

> 

> <%@ LANGUAGE=VBScript CODEPAGE=65001%>







>> hello! new to the list so forgive me if i covering old ground...

>> 

>> we're trying to build a ASP application that will allow viewing of

> english,

>> japanese and chinese characters.

>> 

>> at the moment i've managed to create 3 tables in access 2000, import text

>> into them from respective word documents and create a record set page that

>> reads them back.

>> 

>> although all the appropriate language kits are installed on my pc, all i

> get

>> is a load of question marks!! for example, the english page reads:

>> 

>> title: shallow hall

>> 

>> the chinese and japanese reads:

>> 

>> title: ?????? ?????

>> 

>> what am i missing?? is it a case that asp pages cant read the characters

>> from access even though they display fine in the access tables??

>> 

>> thanks for any help out there!!

>> 

>> cheers,

>> 

>> jake



Message #5 by "Caroline & Hossein" <mach3@w...> on Fri, 8 Mar 2002 21:20:51 +0100
Hi

    It is long time ago that I made an non english site, But I find my old

pages. In the top of the page (*.asp) you add:



<% Language=VBScript CodePage=65001%>

<% Session.CodePage = 65001%>

<html>

....

<meta http-equiv="Content-Type" content="text/html; Charsetset=utf-8">

.........

</html>



65001 uses for Unicode then Charsetset=utf-8.



where I found, in microsoft.com. I do not have the web address, sorry :-)



But this should work. You need win2000 and Access2000 which is enable for

these languages.



Regards

Hossein









----- Original Message -----

From: "jake williamson 28" <jake.williamson@2...>

To: "Access ASP" <access_asp@p...>

Sent: Friday, March 08, 2002 4:58 PM

Subject: [access_asp] Re: japanese/chinese language support





> hi hossein,

>

> thank you for getting back to me - i've had some success!

>

> the key seems to be the line:

>

> <%@ LANGUAGE=VBScript CODEPAGE=65001%>

>

> from what you've said this tells the dynamic date coming into the page

that

> it need to use the charater set for that language. this used with the

> appropriate meta tags to encode the page just about works!

>

> can i ask where you got the 'CODEPAGE=65001%' from? i've trawled the net

> looking and these are the only no's i could find:

>

> Japanese (932)

> Chinese (Taiwan, Hong Kong) (950)

>

> if i replace the 'CODEPAGE=65001%' with 'CODEPAGE=950' it breaks!

>

> also, these are the metas i've managed to find:

>

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

> <meta http-equiv="Content-Type" content="text/html; charset=gb2312">

>

> for gb and:

>

> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">

>

> for big5

>

> for japanese:

>

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

> <HTML lang="ja-JP">

> <META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">

>

> any more info you have would be most appricated! it's getting there...

>

> cheers,

>

> jake

>

>

> on 7/3/02 20:56, Caroline & Hossein at mach3@w... wrote:

>

> >

> > Maybe its help:

> > Specifies or gets an integer that corresponds to a character set used

> > for in the dynamic content on the page, such as '950' for Chinese.

> >

> > <%@ LANGUAGE=VBScript CODEPAGE=65001%>

>

>

>

> >> hello! new to the list so forgive me if i covering old ground...

> >>

> >> we're trying to build a ASP application that will allow viewing of

> > english,

> >> japanese and chinese characters.

> >>

> >> at the moment i've managed to create 3 tables in access 2000, import

text

> >> into them from respective word documents and create a record set page

that

> >> reads them back.

> >>

> >> although all the appropriate language kits are installed on my pc, all

i

> > get

> >> is a load of question marks!! for example, the english page reads:

> >>

> >> title: shallow hall

> >>

> >> the chinese and japanese reads:

> >>

> >> title: ?????? ?????

> >>

> >> what am i missing?? is it a case that asp pages cant read the

characters

> >> from access even though they display fine in the access tables??

> >>

> >> thanks for any help out there!!

> >>

> >> cheers,

> >>

> >> jake

>

>




$subst('Email.Unsub').

>




  Return to Index