thank you all i just want to mention that a write the my arabic data in the jtextfield and there was no problem but when i add these data to the database it's added in the form of ?????? on the other hand when i add these data manually (in Arabic) in the database it is entered successfully i don't know where the problem is , is it from the java string it encode the arabic string to a certain code or is it the driver url to the data base which is mysql
nothing to do with JDBC or Java, but table (Database) settings in option Charset
check (doubleClick on Table) 1st tab is Coĺumn and indicies, 2nd. Table Options
there are Charset and Collations, sure I don't know someting which Charset is really correct (from exists Arabic Charset & Collation), that's only your job
no idea, I'm quite be sure that's nothing/there isn't bug with Java & JDBC (for MySql, Oracle, MS Sql), because input/output Java v.s. ODBC is strict Encoded in Unicode, and I'm using non ASCII charset too,
i had become mad i have been more than a week search and my hair began to fall and i don't know where the problem is i have used the charset utf-8 and cp1256 which are used for arabic language but there is no hope :(
thank you man i have solved it but it was solved when i installed odbc mysql.msi installation file it looks like magic it caught the arabic characters and stored it in the database normally thank you very much
OK, so HostGator for some reason no longer allows gcc/g++ access unless you have a Designated Server account, which is a lot of money to spend just to compile my "Hello World" program. Thus I figured I'd compile at home, then upload. Program is your regular old bare-bones Hello World ...
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them.
I don’t want at this stage work on a big separate project as I've already got plenty ...