Ask a Question related to ASP Database, Design and Development.
-
asim #1
how to read japanese characters (multilingual characters) from a text file and save them in Access database ???
HI All
i m trying to read a text file, having some japanese characters and saved as
UTF-8 encoding.
I m using ASP,FSO ... my code is below, plz make the required changes and
expalin :)
Dim ObjFso,thetextdata
Set ObjFso = Server.CreateObject("Scripting.FileSystemObject")
Set thetextdata = ObjFso.OpenTextFile("C:\Examples\test1.txt",1)
data = thetextdata.ReadAll
Set thetextdata = Nothing
Set ObjFso = Nothing
rs.open "test",con,1,3
rs.addnew
rs("adminname") = "testadmin"
rs("propname") = "test"
rs("propvalue") = data
rs.update
rs.close
response.write "Done"
after this only "?" question marks are stored in DB
PLz Help
asim Guest
-
Problem displaying Japanese characters
Hi, I want my application to have "Lucida Grande" font. Since I am not sure that every platform has it locally installed, I embedded it. I... -
Japanese characters.
Hi, In Acrobat SDK 6.0 we are using wordproc to fetch the word from pdf document. We are creating links for that word also. I want to extract word... -
Japanese characters
I am puting into a SQL server DB that is set to VarChar and i am using CF 6.1. I want to do this in Japanese however all I am getting is "????"... -
Japanese Characters?
How do I incorporate Japanese characters into a German version of Flash MX? Is Japanese text right-to-left? Top-to-bottom? Any clues would be... -
Viewing PSD's with Japanese characters
I received a disk from Japan with that has PSD's saved. However, I cannot open them. The error message reads "File could not be found", even though... -
Manohar Kamath [MVP] #2
Re: how to read japanese characters (multilingual characters) from a text file and save them in Access database ???
Can you try something like:
Set thetextdata =ObjFso.OpenTextFile("C:\Examples\test1.txt",1, , -1)
The last "-1" value opens the file in unicode format.
--
Manohar Kamath
Editor, .netBooks
[url]www.dotnetbooks.com[/url]
"asim" <qazi@advcomm.net> wrote in message
news:uofb%23xJYDHA.2032@TK2MSFTNGP10.phx.gbl...as> HI All
>
> i m trying to read a text file, having some japanese characters and saved> UTF-8 encoding.
>
> I m using ASP,FSO ... my code is below, plz make the required changes and
> expalin :)
>
> Dim ObjFso,thetextdata
> Set ObjFso = Server.CreateObject("Scripting.FileSystemObject")
> Set thetextdata = ObjFso.OpenTextFile("C:\Examples\test1.txt",1)
> data = thetextdata.ReadAll
> Set thetextdata = Nothing
> Set ObjFso = Nothing
>
> rs.open "test",con,1,3
> rs.addnew
> rs("adminname") = "testadmin"
> rs("propname") = "test"
> rs("propvalue") = data
> rs.update
> rs.close
>
> response.write "Done"
>
> after this only "?" question marks are stored in DB
> PLz Help
>
>
Manohar Kamath [MVP] Guest



Reply With Quote

