Results 1 to 7 of 7
Thread: encoding value for hindi lang
- 03-11-2011, 05:10 AM #1
Member
- Join Date
- Jan 2011
- Posts
- 36
- Rep Power
- 0
encoding value for hindi lang
hi, am developing java application in netbeans ide. i opened text file and i have other buttons to change language lik hindi, urdu etc. i opened hindi file but hindi format is not accepting. i just get some garbbage values. can anyone know wat encoding value should be used to display hindi, urdu text. utf-8 does not support these languages. please help me. thanks.
- 03-11-2011, 06:09 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Are you sure that the relevant font is installed in your system?
- 03-12-2011, 08:49 AM #3
Member
- Join Date
- Jan 2011
- Posts
- 36
- Rep Power
- 0
hi.. i have installed the hindi fonts in my system.
but still iam not able to open the hindi text file in netbeans. I use the encoding value utf8. should i change this value to display hindi text.
- 03-14-2011, 05:51 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Should be in UNICODE or UTF8. Save a notepad in UTF8 with Hindi text and see.
Last edited by Eranga; 03-14-2011 at 05:53 AM.
- 03-14-2011, 05:58 AM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
At the same time you can compile the source with encoding and run.
javac -encoding UTF-8 <file-name>
- 03-14-2011, 06:00 AM #6
Member
- Join Date
- Jan 2011
- Posts
- 36
- Rep Power
- 0
thanks..:-) it worked..
- 03-14-2011, 06:09 AM #7
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
You are welcome. :)
If you are satisfied with the solution, it's time for you to mark the thread solved.
Similar Threads
-
How to translate english to hindi
By nitin_sinha in forum Advanced JavaReplies: 2Last Post: 12-20-2010, 09:44 PM -
Is there any way available to convert an English language text document to Hindi
By manoj41.k in forum New To JavaReplies: 2Last Post: 12-20-2010, 05:20 AM -
[SOLVED] how to save hindi text into Oracle Database
By sanjeevtarar in forum JDBCReplies: 14Last Post: 12-07-2010, 10:41 AM -
How to Display Hindi Characters?
By sayan751 in forum AWT / SwingReplies: 1Last Post: 03-03-2009, 03:23 PM -
Some help with encoding...
By nm123 in forum NetworkingReplies: 0Last Post: 04-15-2008, 12:22 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks