Java code for Saving Marathi (Indian local language ) in Mysql and retrieving the same

Java code for Saving Marathi (Indian local language ) in Mysql and retrieving the same

Hello , My query got solved. Thnx.I am right now going to save the marathi data into mysql and trying to retrieving the same from java using eclipse but after saving it shows " ???? " in place of marathi words . I also set encoding to UTF-8 for mysql database and table. as below. Can you tell me how to achieve that?

create table voterInfo ( sr_no int(11) NOT NULL , first_name varchar(20) NOT NULL , middle_name varchar(20) NOT NULL , last_name varchar(20) NOT NULL , id varchar(20) NOT NULL , List_Section varchar(10) NOT NULL , voter_area varchar(400) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

And my output is : Same o/p I gets in eclipse console. Can you tell me the solution?

+-------+------------+-------------+-----------+-------------------+-----------+-----------------------------------------------------------------------------------------+ | srno | firstname | middlename | lastname | id | List sectn | voter_area | +-------+------------+-------------+-----------+-------------------+-----------+-----------------------------------------------------------------------------------------+ | 52 | ????? | ???? | ? | MT/37/218/0243222 | 136 | 1 ?????? ? | | 53 | ?????? | | ? | MT/37/218/0243072 | 136 | 1 ?????? ? | | 54 | ?????? | ?????? | | MT/37/218/0243222 | 136 | 1 ?????? ? | | 55 | ???? | ????? | ?????? | MT/37/218/0243065 | 136 | 1 ?????? ? | | 56 | ???? | ? | ????? | MT/37/218/0243066 | 136 | 1 ?????? ? | | 57 | ???? | ???? | ????? | MT/37/218/0243065 | 136 | 1 ?????? ? | | 58 | ???? | ????? | ???? | MT/37/218/0243068 | 136 | 1 ?????? ? | +-------+------------+-------------+-----------+-------------------+-----------+-----------------------------------------------------------------------------------------+

View Answers

Ads









Related Tutorials/Questions & Answers:
Java code for Saving Marathi (Indian local language ) in Mysql and retrieving the same
Java code for Saving Marathi (Indian local language ) in Mysql and retrieving... going to save the marathi data into mysql and trying to retrieving the same from java using eclipse but after saving it shows " ???? " in place of marathi words
how to use marathi keyboard in java programming?
how to use marathi keyboard in java programming?  how to use Marathi keyboard in java programming
Advertisements
different output trying to execute same java code
there is different output trying to execute same java code...different output trying to execute same java code  i am using net beans 7 ide and java 6 to develop my java projects. i used the following coding
different output trying to execute same java code
different output trying to execute same java code  i am using net beans 7 ide and java 6 to develop my java projects. i used the following coding... " portList : false" Why there is different output trying to execute same java
different output trying to execute same java code
different output trying to execute same java code  i am using net beans 7 ide and java 6 to develop my java projects. i used the following coding... " portList : false" Why there is different output trying to execute same java
Saving image and text in mysql db using spring?
Saving image and text in mysql db using spring?  Hii, My requirement is to save the employee details(including image) into mysql db.i want to save the image location in db .And actual image(binary formate) should save
how to translate english word to marathi using java
how to translate english word to marathi using java  I want to translat english word to marathi,how i can develop a code for that ,please sajest me
java code for registration and login pages, mysql as a bankend.
java code for registration and login pages, mysql as a bankend.  please send me the java code for registration and login pages and to store the data in mysql
Insert Image into Mysql Database through Simple Java Code
Insert Image into Mysql Database through Simple Java Code... simple java code that how save image into mysql database. Before running this java code you need to create data base and table to save image in same database
Storing and retrieving data alongwith image in mysql db using jsp
Storing and retrieving data alongwith image in mysql db using jsp  I want to store and retrieve the whole data as shown below in mysql db. I've put... the exact flaw in my code. Can anyone guide me through all this and help me out
retrieving image from mysql db with standard height and width
retrieving image from mysql db with standard height and width  Hi . Here is my code to retrieve an image from mysql db. Its working properly. But i.... Thanks in advance. <%@ page language="java" contentType="text/html
retrieving image from mysql db with standard height and width
retrieving image from mysql db with standard height and width  Hi . Here is my code to retrieve an image from mysql db. Its working properly. But i.... Thanks in advance. <%@ page language="java" contentType="text/html
How to ensure the same output by java code on 32 bit m/c and 64 bit m/c
How to ensure the same output by java code on 32 bit m/c and 64 bit m/c  How to ensure the same output by java code on 32 bit m/c and 64 bit m/c
how to use marathi font in swing?
how to use marathi font in swing?  I want to use marathi language on labels,buttons
The code for retrieving data from database into Drop Down List.
The code for retrieving data from database into Drop Down List.  <... to MySQL"); PreparedStatement pre = con.prepareStatement("select * from...;% } %> // my code for displaying quantity is below
Saving and Retrieving The Preferences
Saving and Retrieving The Preferences Preference values... node associated with java package and if a class named roseindia.class needs... will learn about the way to retrieves the user preference node using the same
How to set Marathi font to Label??
How to set Marathi font to Label??  Hello, I am doing one project in java-Swing Farm Management i want to set Marathi label in that so how i can? plzzzz help me its urgent
Mysql Date Commands
Mysql Date Commands       Mysql Date Commands illustrate the list of commands for retrieving current date, current time, local time etc. Understand with Example The Tutorial
Are J2EE and Java Advanced the same?
Are J2EE and Java Advanced the same?  Hi, I am checking J2EE and Advanced Java. Are J2EE and Java Advanced the same? Thanks   Hi, J2EE is now renamed to JEE in latest version of Java platform, which is Specification
local host sharing on same network compute
local host sharing on same network compute  i have an desktop bill application on wamp and i want to use it on other computer on same network . computer connected with hub or switch
please let me get code how to insert a data to mysql using setter and getter method by using java
please let me get code how to insert a data to mysql using setter and getter method by using java  please let me get code how to insert a data to mysql using setter and getter method by using java pelease let me have the code
please let me get code how to insert a data to mysql using setter and getter method by using java
please let me get code how to insert a data to mysql using setter and getter method by using java  please let me get code how to insert a data to mysql using setter and getter method by using java pelease let me have the code
saving files
saving files  i want to create a program that would allows me to save my file and attach data
saving data in xml
saving data in xml  Hi, I have an xml file with spring map, in that i have parent child nodes. I have jsp form in that i have put same parent child elements. when i submit jsp form I want to append same data into xml file
MySQL JDBC Driver pom dependency code
MySQL JDBC Driver pom dependency code  Hi, What is the POM dependency code for MySQL's latest JDBC Driver? I can download the MySQL driver from mysql website but I need to use it in a application which is based on Maven 3
Java and Mysql
Java and Mysql  Sir, I want to connect my java program with mysql server (mysql server is situated on another windows machine ) ??? ???? ?????   Put mysql jar file in your jdk lib and set the classpath. After
MySQL take backup of a table - example code needed
MySQL take backup of a table - example code needed  How to take backup of a table in MySQL? I have a database which contains many tables. What is the command to take the backup of one table with data from database? Thanks
PHP code for csv file upload into mysql
PHP code for csv file upload into mysql  I want to upload a file from my pc to mysql server using upload option. while i m selecting the csv file it ll be upload the mysql database. can u send me the coding? i have tried
Download dynamic link files to local directory - java code
Download dynamic link files to local directory - java code  Hi, I found a code that downloads static links but not dynamic link files.can anyone give a solution for downloading dynamic link files? Thanks in advance
Java and MySQL
Java and MySQL   I am doing a project on an accounting system. I need to know to things: How do I write reports using information in an MySQL database . How get multiple MySQL database rows and assign them to variables r
MySql,java
MySql,java  In MySQL table i am adding the fields of name,photo,video,age,category.in the category i have some subjects.if one person login into my... thing i want to see the uploaded videos under the one category of same type(for ex

Ads