Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Problem in Farsi

  Asked By: Phil    Date: Jan 22    Category: Java    Views: 810
  

I have some problem in storing Farsi letters and Numbers in database.
My database is Access and i want to store my Farsi letters with java
application in Access database but i dont know how can i do that.
IF any one know how can i solve this problem ,Can he/she send me a
solution or send me a sample source code ?

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Stefan Thompson     Answered On: Jan 22

If MS-Access isn't a requirement for your client, throw it in the trash and
use a real database. But if it is a requirement, refer to its help, in case
of MS-SQL there must be an 'N' before any UTF field of a SQL query. I guess
it has to be something similar to this.

For example:

Wrong: INSERT INTO your_table VALUES (1, 'some farsi  things here...')

Corrent: INSERT INTO your_table VALUES (2, N'some farsi things here...')

 
Answer #2    Answered By: Ivan Coleman     Answered On: Jan 22

it realy works for inserting and updating data with sqlserver.

 
Didn't find what you were looking for? Find more on Problem in Farsi Or get search suggestion and latest updates.




Tagged: