They are talking about saving the template files in UTF because it is usually a bad idea to mix and match encoding within HTML (not many browsers can deal with it).
Since you are now asking the user to do input as UTF, we need to rewrite all HTML templates as UTF encoded so we can specify the Content-Type as UTF (see the original message from Ohwaki-san). Then when the user goes to do text entry, the correct encoding is already set by the browser. Since most Japanese-capable PCs do their text encoding locally in some form of JIS, this is a pain... And don't even get me started on this new requirement for Perl 5.6. I just go back from vacation and I want to stay relaxed for another 5 minutes. ;-) -- John Keegan [EMAIL PROTECTED] http://RackShare.com > From: "Charles Daminato" <[EMAIL PROTECTED]> > Date: Tue, 1 May 2001 13:18:24 -0400 > To: "Kaz Ohwaki" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> > Subject: RE: slight problem (and fix) with v2.33 > > Here's what I got from the dev guys: > > Why are they talking about saving files in utf8. There are no files needed > for > the client. > We tested all the languages and this hould work. Questions are: > -What OS are they using. > - How are they entering the chars. > - Did they set the USE_RACE to 1 > - What Browser are they using > > Everyone should be responding with this information if they're having RACE > problems :) > > Charles Daminato > OpenSRS Product Manager > Tucows Inc. - [EMAIL PROTECTED] > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED]]On Behalf Of Kaz Ohwaki >> Sent: April 30, 2001 3:41 PM >> To: [EMAIL PROTECTED] >> Subject: RE: slight problem (and fix) with v2.33 >> >> >> -----BEGIN PGP SIGNED MESSAGE----- >> >> We have still been fighting v2.33 UTF-8 Japanese character viewing on web >> page illegible matter. We found follow things. >> >> Assumption; >> (1) We translate most of HTML templates from English to Japanese and saved >> as UTF-8 format as text file. >> (2) We tested both original files (in English) and translated (in >> Japanese) >> files. >> >> (1) It is illegible if you use most of version (we tested v2.2 to v2.33) >> with Perl 5.6.1 except RACE.cgi. Only RACE.cgi and templates/RACE/*html, >> you can view Japanese characters. >> (2) It is viewable if you use ActivePerl-5.6.1.625 with v2.33. >> (3) You can not register Japanese domain name using reg_system.cgi even >> ActivePerl-5.6.1.625 with v2.33. The result shows "Domain: 簿記.com >> Registration attempt failed: Registration not allowed under this encoding >> type." >> Of course we saved all HTML files as UTF-8 and wrote "<meta >> http-equiv="Content-Type" content="text/html; charset=UTF-8">" in all of >> HTML files. >> (4) Only you can register Japanese domain names is you must use Perl >> 5.004_04 or 5.005_03 with S-JIS mode with v2.22 (from our tested / >> investigation). >> >> Please fix v2.33 enable us to register Japanese domain name with >> ActivePerl-5.6.1.625 that you wrote we have to use (ActivePerl >> build 618 or >> higher) in OpenSRS.conf. >> Again, the error at last step in reg_system.cgi is "Domain: 簿記.com >> Registration attempt failed: Registration not allowed under this encoding >> type." >> >> Kaz Ohwaki, Cyber Trading Co. https://yt.com/ >> mailto:[EMAIL PROTECTED] Fax:+1-(516)-704-2494 [NY] >> Voice mail:+81-(3)-3682-6258 [Tokyo] >> PGP-RSA: 6876 1D13 F27B 7D23 10C5 0BC7 DE32 E84D >> PGP-DSS: 68A0 D852 947B BBC9 386A AD9A 7A8B 06E3 32CE FB50 >> >>> -----Original Message----- >>> From: [EMAIL PROTECTED] >>> [mailto:[EMAIL PROTECTED]]On Behalf Of Charles Daminato >>> Sent: Saturday, April 28, 2001 9:32 PM >>> To: Kaz Ohwaki >>> Cc: [EMAIL PROTECTED] >>> Subject: RE: slight problem (and fix) with v2.33 >>> >>> >>> I apologize in advance for cross posting, but this question was >> posted to >>> both lists. I implore people NOT to crosspost. >>> >>> You can get all previous versions of the client code at >>> http://www.opensrs.org/src/old/ - but 2.33 is the only one that >> can do ALL >>> character sets (previous versions can only do the original 4) >>> >>> BTW - there is no version of 2.33 that did not use UTF-8, we had to put >>> the USE_RACE in there AFTER we released 2.33 because we did not realize >>> the problems with Perl versions under 5.6. Even if I gave you the >>> original 2.33 version, you'd likely have the same problems - all we >>> implemented was a flag for users that didn't have Perl 5.6 >>> >>> As for "problems" you're having, if you could be more descriptive (or >>> possibly send a more detailed account of the difficulties you're having) >>> we can find a solution, for yourself, and other persons who may (or may >>> not?) be having such difficulties. >>> >>> Charles Daminato >>> TUCOWS Product Manager >>> [EMAIL PROTECTED] >>> >>> On Sat, 28 Apr 2001, Kaz Ohwaki wrote: >>> >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> >>>> Hi >>>> >>>> We had tried to test many version and many methods and found >>> that the latest >>>> version "2001/04/20 v2.33" does not work properly in Japanese >>> character with >>>> Perl 5.6.1. We tested same thing with Perl 5.005_03 and it >>> worked but of >>>> course $USE_RACE function did not work with Perl 5.005_03. So >>> that we can >>>> not modify / register Japanese domains with the latest version >>> "2001/04/20 >>>> v2.33". >>>> >>>> Could you please send us the previous version of "2001/04/19 >> v2.33" that >>>> must not be required Perl 5.6? Since the name of file is same as >>>> "2001/04/20 v2.33", we overwrite the file and we could not >>> download the file >>>> because you do not upload the "2001/04/19 v2.33". We can not find >>>> "2001/04/19 v2.33" at your software download site. >>>> >>>> Japanese character users (maybe all of 2-byte users) need to use Perl >>>> 5.005_03 until you fix this illegible matter. >>>> How can we get the version of "2001/04/19 v2.33" at OpenSRS site? >>>> >>>> Kaz Ohwaki, Cyber Trading Co. https://yt.com/ >>>> mailto:[EMAIL PROTECTED] Fax:+1-(516)-704-2494 [NY] >>>> Voice mail:+81-(3)-3682-6258 [Tokyo] >>>> PGP-RSA: 6876 1D13 F27B 7D23 10C5 0BC7 DE32 E84D >>>> PGP-DSS: 68A0 D852 947B BBC9 386A AD9A 7A8B 06E3 32CE FB50 >>>> >>>>> -----Original Message----- >>>>> From: [EMAIL PROTECTED] >>>>> [mailto:[EMAIL PROTECTED]]On Behalf Of Charles Daminato >>>>> Sent: Saturday, April 21, 2001 2:37 AM >>>>> To: [EMAIL PROTECTED]; [EMAIL PROTECTED] >>>>> Subject: slight problem (and fix) with v2.33 >>>>> >>>>> When we released this version yesterday, we didn't realize >> there was a >>>>> couple of glitches. Our internal testing showed things were >>> fine - but we >>>>> also test in an optimal environment. The codebase on the >>> site has already >>>>> been updated, this is for those of you that may already have >>>>> downloaded this >>>>> code. >>>>> >>>>> 1) RACE conversions will ONLY work if you have Perl 5.6 (or >>>>> ActivePerl build >>>>> 618 or higher). With this in mind, RACE.pm has been changed - if >>>>> you do not >>>>> have the latest Perl, you'll need the latest RACE.pm and >> the following >>>>> tidbits: >>>>> 2) there is a new variable in OpenSRS.conf that allows you to >>> disable RACE >>>>> ($USE_RACE) - the default is OFF (if you don't want to offer >>> Multilingual >>>>> registrations...). >>>>> 3) In manage.cgi, renew.cgi, and reg_system.cgi, add the >>> following line >>>>> below RACE::Initialise(%RACESETTINGS); : >>>>> >>>>> RACE::UseRace($USE_RACE); >>>>> >>>>> 4) verify_install.cgi has been altered to check for >>> Storable.pm, which is >>>>> now a new required module >>>>> >>>>> We apologize for the inconvenience this may cause - our documents >>>>> are being >>>>> updated, and we'll try to test this more extensively in the future. >>>>> >>>>> Charles Daminato >>>>> OpenSRS Product Manager >>>>> Tucows Inc. - [EMAIL PROTECTED] >>>> -----BEGIN PGP SIGNATURE----- >>>> Version: PGP 7.0 Cyber Trading Co. edition <https://yt.com/> >>>> Comment: Key is available at https://yt.com/hp/pgp_public.asc >>>> >>>> iQCVAwUBOunWi+iOz+DlMYRNAQHIJQP/WX8RNLLthugJUs9IWivIsSGPE0Pfedv4 >>>> Bd7w6pU2jtWmM0zoup9ZRu8P2CYTQPL6bygQF2fbtSw3MUIfiKqmiaO9IBBof/vi >>>> efjTGiWmQWe5XJYebVbQxerylkovCTMbof/UN06j0LA4B1u9u+FrobzC/J/9eMRe >>>> WPb6emDdAVU= >>>> =f96s >>>> -----END PGP SIGNATURE----- >>>> >>>> >>> >>> >>> >>> >> -----BEGIN PGP SIGNATURE----- >> Version: PGP 7.0 Cyber Trading Co. edition <https://yt.com/> >> Comment: Key is available at https://yt.com/hp/pgp_public.asc >> >> iQCVAwUBOu1BPeiOz+DlMYRNAQGhogP/W+qrIxDS4i9ZP0azXDvqzMAEbETfC/6k >> ATBT9+x+pmSt5TeUWoiVavG3KV5NzE0kYghL6rCCRdMWKCIjMEITyA0h9mb18swW >> tSkm35lhCQBy5M1sVRYJJR1pvIH1nF567MdnOn9Sx9jmymaHVz3NsPT9aVR85fBA >> XDIat3AD5+M= >> =zcTv >> -----END PGP SIGNATURE----- >> >
