I can now switch between languages on my site.
I needed to do a couple of things.
First I changed ENCODING=FALSE on the server. I suspect that Scott's
suggestion <@ASSIGN local$encodeResults VALUE="FALSE"> at the very top of
the page may accomplish the same thing.
The next thing that I needed was to tell the browser the correct encoding to
use by using the meta tags below. Without this, you could get the pages to
display correctly, but you had to right click and manually change the
encoding from Western European, to Japanese, to Korian, and to Russian.
<@if expr="@@user$country='Japan'">
<@comment> Japanese </@comment>
<meta http-equiv="Content-Type" content="text/html; charset=x-JIS-jp">
<@elseif expr="@@user$country='Czech'">
<@comment> Russian </@comment>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<@elseif expr="@@user$country='Korea'">
<@comment> Korian </@comment>
<meta http-equiv="Content-Type" content="text/html;
charset=ks_c_5601-1987">
<@else>
<@comment> US & others </@comment>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<@endif>
Troy Sosamon
Denver, Co.
-----Original Message-----
From: Troy Sosamon [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 10, 2004 10:10 AM
To: [EMAIL PROTECTED]
Subject: RE: Witango-Talk: Japanese
We have a winner.
Thanks Dave, setting the encoding=false in the server ini file allows me to
change the encoding to Japanese and then everything displays right.
Scott's suggestion <@ASSIGN local$encodeResults VALUE="FALSE"> (or TRUE) did
not seem to do anything. I also may not have put this in the right place.
I tried putting it at the top of the page. I didn't mess with this very
long because changing it at the server worked.
I think I still may be missing something, because the page does not always
default to encoding of Japanese, but I can change it manually if it does not
come up correctly. I have a feeling that I need to tweek something in the
http header.
Thanks for the help,
Troy
-----Original Message-----
From: Dave Machin [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 12:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: Japanese
We've got a site running in Korean and Chinese and it works fine, we learned
the following:
The WiTango ini file has to be set to encoding=false
We never got Unicode data to work (coming from an MS-SQL database) but
country specific encoding schemes work fine
The 'view source' data for our Korean text looks like this:
<p class="subheader"><font size=+1>ȸ���Բ��� �����Ͻ� ������ �亯������
���� �ذ� �Ǽ̳���?</font></p>
I'm not sure if your source is equivalent (Žç”é‹)
----- Original Message -----
From: "Troy Sosamon" <[EMAIL PROTECTED]>
To: "Tango List" <[EMAIL PROTECTED]>
Sent: Thursday, January 08, 2004 11:51 PM
Subject: Witango-Talk: Japanese
> I am working on an international web site and need to display several
> different languages.
> I have no problems with Portugese, French, Inalian, Queens English,
German,
> Chinese, and Spanish.
>
> I am trying to get Japanese to work, and the characters do not display as
> expected.
> I can put the Japanese code in an HTML file and it works fine when the
> Encoding is set to Japanese JIS.
> I can reproduce the problem if I put my Japanese page in a plain html
file,
> pull it up, right click, and change the encoding from Japanese to Western
> European, I get the same characters that Tango always displays.
>
> example at http://www.eapintl.com/csfb/csfb.taf?_function=test
>
>
> I need to set the encoding type somehow.
> I am thinking I need to change this for the server? Doesn't Tango have a
> master header file that it uses?
>
> I would appreciate any help.
>
> Thanks,
>
> Troy Sosamon
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>
> ________________________________________________________________________TO
UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf