• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reading Arabic Text Files in Java  RSS feed

 
Malt G.M
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to read an arabic text file (extension is .txt), and upload the contents into SQL server 2005. How do I go about doing the same?

Regards,
Malt
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What version of the JDK are you using?
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are several parts to this:

How do you read from an Arabic text file?

How do you split the file into separate records? (Optional)

How do you insert a record into a database?

Since you're posting in the I/O forum, I'm guessing you're working on the first one. I think the first thing you need to find out is, what character encoding is used for the file? Do you know that, or can you find someone who knows?
[ December 10, 2007: Message edited by: Jim Yingst ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!