User Profile

Collapse

Profile Sidebar

Collapse
stelios andread
stelios andread
Last Activity: Jan 18 '11, 07:18 PM
Joined: Jan 18 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thank you for the reply.

    the part of the code is the following:

    try
    {
    Statement stmt;
    ResultSet rs;
    Class.forName(" com.mysql.jdbc. Driver");
    String url ="jdbc:mysql ://localhost:3306/users?useUnicod e=true&char acterEncoding=U TF-8&autoRecon nect=true";
    Connection con =(Connection) DriverManager.g etConnection(ur l,"root",...
    See more | Go to post

    Leave a comment:


  • Insert to a database using java: problem with greek characters

    I'm writing a java programme, which connects to a database in my computer(using jdbc). The database is allowed to use greek characters and I can check that, because when I use a "select" query, the text appears as it should. But when I try to insert new data, instead of greek characters, the result in the database is only some questionmarks. Where is the problem? (I've already defined the collation as utf-8)
    See more | Go to post
No activity results to display
Show More
Working...