Results 1 to 15 of 15
  1. #1
    sanjeevtarar's Avatar
    sanjeevtarar is offline Senior Member
    Join Date
    Apr 2008
    Location
    Jaipur(India)
    Posts
    318
    Rep Power
    7

    Default [SOLVED] how to save hindi text into Oracle Database

    Hello All,

    I need to save Hindi value/Other then English in Oracle DataBase using java.

    What changes i need to make in DB.?

    Does anybody have any idea about this.


    Your valuable Ideas are Welcome.


    Thanks

    sanjeev,संजीव

  2. #2
    roots's Avatar
    roots is offline Moderator
    Join Date
    Jan 2008
    Location
    Dallas
    Posts
    293
    Rep Power
    7

    Default

    never been to such situation but this might help,

    Inserting UTF-8 into Oracle
    dont worry newbie, we got you covered.

  3. #3
    sanjeevtarar's Avatar
    sanjeevtarar is offline Senior Member
    Join Date
    Apr 2008
    Location
    Jaipur(India)
    Posts
    318
    Rep Power
    7

    Default

    Thanks for your reply dear.

    I have done with google....and seen many article.....:(
    sanjeev,संजीव

  4. #4
    sanjeevtarar's Avatar
    sanjeevtarar is offline Senior Member
    Join Date
    Apr 2008
    Location
    Jaipur(India)
    Posts
    318
    Rep Power
    7

    Default

    I have solved it.

    Saved Hindi into Oracle Database and retrieve successfully

    sanjeev,संजीव

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by sanjeevtarar View Post
    I have solved it.

    Saved Hindi into Oracle Database and retrieve successfully

    Congratulations Sanjeev,

    Can you explain a little more that how did you do it. I like to store some Sinhala letters into a database.

  6. #6
    sanjeevtarar's Avatar
    sanjeevtarar is offline Senior Member
    Join Date
    Apr 2008
    Location
    Jaipur(India)
    Posts
    318
    Rep Power
    7

    Default

    Quote Originally Posted by Eranga View Post
    Congratulations Sanjeev,

    Can you explain a little more that how did you do it. I like to store some Sinhala letters into a database.
    Ya Eranga,

    replying very late.....

    Just create a Unicode database in Oracle using NLS_CHARACTERSET = 'UTF8' and use the NVARCHAR2 data type to store values.

    However i found some article that says you can store Unicode in Unicode database (NLS_CHARACTERSET = UTF8) or also in non-Unicode database(NLS_CHARACTERSET = WE8MSWIN1252).

    I was trying on that but not able to store Unicode value (Hindi in my case).

    more info....



    sanjeev,संजीव

  7. #7
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  8. #8
    sanjeevtarar's Avatar
    sanjeevtarar is offline Senior Member
    Join Date
    Apr 2008
    Location
    Jaipur(India)
    Posts
    318
    Rep Power
    7

    Default

    Quote Originally Posted by Eranga View Post
    Ah, thanks for the infor Sanjeev. I'm wondering to store Sinhala letters in a Database.
    Have done with your code.....

    If you got any doubt or any problem feel free to ask.
    sanjeev,संजीव

  9. #9
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  10. #10
    ishwarbansal is offline Member
    Join Date
    Jul 2008
    Posts
    1
    Rep Power
    0

    Smile How to handle multilanguage in java

    i want to save hindi text using java in oracle.
    How can i do it?



    Quote Originally Posted by sanjeevtarar View Post
    I have solved it.

    Saved Hindi into Oracle Database and retrieve successfully


  11. #11
    rajeshgite is offline Member
    Join Date
    Dec 2010
    Posts
    3
    Rep Power
    0

    Question How to read hindi text using JAVA and saved in DB as english text..

    hi sanjeev sir
    I am tring to read hindi text using java and my assignment is to store these in in postgres DB as english so what changes i have to do in my code???
    please help me sir.....

  12. #12
    rajeshgite is offline Member
    Join Date
    Dec 2010
    Posts
    3
    Rep Power
    0

    Question calling vb function from java code

    Sanjeev sir,
    i have vb code in that finding the ASCII char of hindi text. but my project is in java. can u please tell me how to call vb function from java code..

  13. #13
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Actually this is very old thread, Sanjeev start this more than two years ago. It's already marked as solved too. So why don't you start a new thread in relevant sub-forum.

  14. #14
    rajeshgite is offline Member
    Join Date
    Dec 2010
    Posts
    3
    Rep Power
    0

    Angry How to call vb fun from java code...

    hi Eranga,
    Do you know the ans of my q????
    then please reply me otherwise not...

  15. #15
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Replies: 7
    Last Post: 08-17-2010, 07:00 PM
  2. Writing text into an image and save it
    By elcapi in forum Java 2D
    Replies: 6
    Last Post: 09-18-2009, 06:47 PM
  3. Using JDBC to connect to ORACLE database
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 02-10-2008, 12:27 PM
  4. save file to database
    By katerinaaa in forum New To Java
    Replies: 0
    Last Post: 08-14-2007, 01:15 PM
  5. Replies: 4
    Last Post: 08-09-2007, 11:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •