Home Answers Viewqa JDBC 12933--write-Greek-(-or-other-non-ASCII write Greek ( or other non-ASCII/8859-1 ) characters to a database

 
 


Clark
write Greek ( or other non-ASCII/8859-1 ) characters to a database
1 Answer(s)      2 years and 7 months ago
Posted in : JDBC

How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database?

View Answers

November 15, 2010 at 11:54 AM


HI friends,

From the standard JDBC perspective, there is no difference between ASCII/8859-1 characters and those above 255 ( hex FF ). The reason for that is that all Java characters are in Unicode ( unless you perform/request special encoding ). Implicit in that statement is the presumption that the data store can handle characters outside the hex FF range or interprets different character sets appropriately. That means either:

  • The OS, application and database use the same code page and character set. For example, a Greek version of NT with the DBMS set to the default OS encoding.
  • The DBMS has I18N support for Greek ( or other language ), regardless of OS encoding. This has been the most common for production quality databases, although support varies. Particular DBMSes may allow setting the encoding/code page/CCSID at the database, table or even column level. There is no particular standard for provided support or methods of setting the encoding. You have to check the DBMS documentation and set up the table properly.
  • The DBMS has I18N support in the form of Unicode capability. This would handle any Unicode characters and therefore any language defined in the Unicode standard. Again, set up is proprietary.









Related Pages:
write Greek ( or other non-ASCII/8859-1 ) characters to a database
write Greek ( or other non-ASCII/8859-1 ) characters to a database  How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database
HOW WRITE GREEK CHARACTERS INTO MYSQL BY JSP ?
HOW WRITE GREEK CHARACTERS INTO MYSQL BY JSP ?  HALLOW TO ALL ! I'M USING MYSQL5.5 , TOMCAT7 & JSP. IN MY BROWSER I'M SEEING GREEK CHARS BECAUSE OF UTF-8 ENCODING . WHEN I RETRIEVE DATA FROM DATABASE BY SELECT * FROM
Java Cosole not Displaying Greek letters - WebSevices
, if i write simple program to print Greek characters it displays ??? please help me... got a new requirement to read Greek and Arabic characters from the xml and store...Java Cosole not Displaying Greek letters  Hello Team, I developed
Count number of characters in a column.
found any other characters other than A,G,C,T...Please help me out...Count number of characters in a column.  I just need you suggestions. Am from Biology Back ground. I just need to find out number of characters
replace special characters in html
replace special characters in html  How can i replace the special characters in HTML?   Special Character in HTML HTML has a long list of special characters symbol that can be used anywhere throughout the HTML Code
Regex Literal Characters
Java: Regex Literal Characters [SERIOUSLY UNDER CONSTRUCTION] Most characters can simply be written directly in a regular expression because they're easy to write in a Java string and they have not special meaning to the regular
insert user session into other oracle database table
insert user session into other oracle database table   hello i am... account after that i store his name into session and when the user write any... table. with user id i also want to insert date and current time in to database
How to avoid the Special characters? - JDBC
How to avoid the Special characters?  I have a form in jsp... can I override special characters by submitting a form through JAVA...,   hi friend, To avoid special characters we have imposed some
PHP - Match Special Characters - PHP
PHP - Match Special Characters  a PHP script that match for special character before submitting it to database
write excel file into the oracle database
write excel file into the oracle database  dear sir, i need the jsp code that reads the excel file and stores it into the oracle database table..and also i need the code to connect oracle database? thank u in advance
write spreadsheet
write spreadsheet  what is the java code to write a spreadsheet to database
write spreadsheet
write spreadsheet  what is the java code to write a spreadsheet to database
Write a program to get student details and store in a database
Write a program to get student details and store in a database  Write a program to get student details and store in a database
how to write a query for adding records in database
how to write a query for adding records in database  How write fire query in JSP for adding records in database
Write Text To File In New Line.
to finish the line and want to write the other text in a new line... of characters. Finally I have used the BufferedWriter class to write...Write Text To File In New Line. In this tutorial you will learn how to write
Database
Database  Hi, i need help building a database based on something like...), multiplicity (or cardinality), in the context of the database system (i.e. give...) external keys 4.( notepad ++ is used here) write the SQL commands to create
database
user required data from the database and rank the results and display... that) based on that system search it to the database and rank the results and retrieve it to the user. other than this what i ll add to improve my applications. i
database
database  i am created one table in mysql database with one of the column name is emailid.now i want to write a java code that if the mail id... or not. If it is already exist in database, then show a message 'Already exists
database
database  in my database i add some fields.the total fields are first name,last name,email,password,conform password,date of birth,age,gender,address... syntax errors so send me the how to write the query and insert the one table
database
database  Create tables EMP, and DEPT, Write SQL queries for the following : Display each employeeâ??s name and date of joining. Display employees earning more than Rs.5,000. Label the column name â??Employeeâ??. Display all
Database
Database  Hi i need Grover's algorithm coding!!! or any other searchin ALGORITH coding? its really urgent! pl do the needful
Write Text File to Table
Write Text File to Table     ... the records of a simple text file and write (insert) into a simple table in MySQL database. All records are written in the simple text file and again, if you need
Database
)references CATEGORY(CategoryName)); and now i assign a non-unique index... created primary key unique type index on Title column and other is explicitly assign non-unique type index on CategoryName column. Now if i say select * from
Ajax Write
Ajax Write       ajaxWrite is a web-based word processor that can read and write Microsoft Word and other standard document formats Read full Description
Write to a file
Write to a file   ...; the BufferedOutputStream class that store the data in an internal buffer and lets you write characters to a stream. Lets see an example that writes the text "Hello Java"
Database books
Database books- Page 18     .... It is an application programming interface that enables you to write client... is an SQL based relational database management system (DBMS) that runs under a broad
if my database(oracle) connection failure means wat is the code to write in exception ?
if my database(oracle) connection failure means wat is the code to write in exception ?  if my database(oracle) connection failure means wat is the code to write in exception
Database books
Database books- Page 8     ...) and defines how CSAs work. The Client Services feature of CICS allows you to write...-based data sources, including SQL Server or any database that can be accessed
Java characters
Java characters  How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters
How to Write to file in Java?
How to Write to file in Java?  How to Write to file in Java Program... of characters and the BufferedWriter is used for store the characters in a buffer section so that we to write into a character-output stream. You can Visit this link
Database books
Database books- Page 4     ... client/server database applications. This manual provides a starting point for: * System administrators and other privileged users, who perform
How to Retrieve Data from the database and write into excel file using Java
How to Retrieve Data from the database and write into excel file using Java  Hi, I am trying to develop an small application where i trying to retrieve Data from the database and store the details in excel file. Please can
Database Designing
Database Designing       There are some rules are available for designing the database... characters .  MySQL use the underscore (_) to separate word. MySQL
Unwanted characters instead of arabic characters
Unwanted characters instead of arabic characters  I am using... and using it to display. the problem is: I need to display some arabic characters here... صÙ?Ù?دÙ?Ù?Ø© سÙ?Ù?د Ù?Ù?Ù?Ù?Ù?أرب like characters instead of arabic
Retrieve data from the database and write into ppt file
Java Retrieve data from the database & write into ppt file In this section, we are going to retrieve data from the database and write into the .ppt file... of setText() method, we have inserted database values into it. Here is the code
Retrieve Data from the database and write into excel file
Retrieve Data from the database and write into excel file. In this section, we are going to retrieve data from the database and write into the excel file..., we have inserted the database table values in the excel sheet. Here
String Overview
. String literals To write a constant string, put the characters between double... Java NotesString Overview Strings are sequences of Unicode characters. In many programming languages strings are are stored in arrays of characters
How to write a select box and id should be stored in database?
How to write a select box and id should be stored in database?  Hi, How to write a select box and select the name(devi) regarding name id(like 60) should be stored in database using SWINGS concept plz help   You
WRITE A PROGRAM IN JAVA
WRITE A PROGRAM IN JAVA  How do I write a program in Java, have the program display a message with your name in it and a number (Hello john Smith!1... must use a "while" loop or a "for Loop". In other words you cannot simply type
write following program
write following program  Q1 What is the difference between single...-threading. Explain with examples Q2 Write a java applet that takes your name through a parameter from the HTML file and displays it Q3 Write a short note
how to write a code for oracle database connection in asp.net for validation.
how to write a code for oracle database connection in asp.net for validation.  <script language="javascript" type="text/javascript"> function fill() { //<%@ import Namespace="System.Data" %> //<%@ import
Java Stream Write Exception
Java Stream Write Exception  I am doing socket programming. I have two files called Server.java and client.java. Both programs were running successfully and successfully sending data to each other. Yesterday I added the following
How to write into CSV file in Java
passed the file name to write into a stream characters. Then we use the FileWriter...How to write into CSV file in Java  How to write into CSV file in Java   Hi, To create Comma separated value(CSV) file is very simple
how to write append file in Java
to FileWriter constructor to write a stream of characters. The Constructor...how to write append file in Java  How to write append file in Java... existing file should be retained when you are trying to write new contents
Java Write to File
the characters in a buffer to write into a character-output stream. Buffering feature...Java Write to File In this tutorial you will learn how to write to file in java. Write to a file in java we are required to use some classes of java.io