4 Replies Latest reply: Jul 9, 2008 9:01 PM by mohnkhan RSS

    Anybody tried re writing the resource files in chinese ?

    mohnkhan Community Member
        • 1. Re: Anybody tried re writing the resource files in chinese ?
          mohnkhan Community Member
          sorry for the double message i just noticed it ..
          • 2. Re: Anybody tried re writing the resource files in chinese ?
            mohnkhan Community Member
            I also did the double check test for confirming if Microsoft's dicionary object has this bug.. <br />I cannot read chinese but i can type some garbage and check it so this file works.. fine but from ADDT's resource i cannot use any non ASCII files like UTF or unicode.... <br /> <br />this file works fine however.. can anybody help ? <br /><%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /><%<br />Dim d<br />Set d=Server.CreateObject("Scripting.Dictionary")<br />d.Add "re","Red"<br />d.Add "gr","&#20320;&#21495;&#30721;"<br />d.Add "bl","Blue"<br />d.Add "pi","Pink"<br />Response.Write("The value of key gr is: " & d.Item("gr"))<br />%> <br /> <br />
            • 3. Re: Anybody tried re writing the resource files in chinese ?
              mohnkhan Community Member
              Hello,
              I am making an existing application multilingual..
              now the only part remaining is translation the resources folder into chinese.. simplified..
              I have noticed that..,
              even if i save the file in unicode or UTF-8 format contianing only plain english messages..

              suppose i convert NAV.res.asp into UTF or unicode whatever.. from ascii..
              and keep contents 100% original..
              i get this error

              Error Type:
              Microsoft VBScript compilation (0x800A0408)
              Invalid character

              in all pages i have dynamic lists.. bcost they use this NAV.res.asp file..

              and keeping file in ascii and rewriting contents with chinese is simply out of question .

              so any ideas any help..
              thanks..
              Moh!
              • 4. Re: Anybody tried re writing the resource files in chinese ?
                mohnkhan Community Member
                to my surprise when i typed nihao thats hello in chiense here i found it encoded into
                你号码

                and this works fine if i replace the standard messages to this character

                can somebody recommend me some program which can convert chinese text to these encodings ?

                thanks a lot for having patience to read my posts.

                Regards
                Desperate Moh!