Solved

Mysql charset

Posted on 2011-03-09
7
538 Views
Last Modified: 2012-05-11
Hello experts.
I have  a problem storing greek text in a mysql  database column.
I have  allready tried the following:
1)set the column charset to greek and collate to greek_general_ci
2)set the column charset to utf8 and collate to utf8_general_ci

but i still get question marks in the table.
Any help?
0
Comment
Question by:Panos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 1

Expert Comment

by:kavik379
ID: 35085134
How are you inputting the data into the database? If  your input method does not support Greek text, that might be the problem.
0
 
LVL 2

Author Comment

by:Panos
ID: 35085557
Hi .
i'm using coldfusion server language and cf  insert query
0
 
LVL 1

Assisted Solution

by:kavik379
kavik379 earned 100 total points
ID: 35085673
Are you sure your server running coldfusion is set up correctly for greek text? And that coldfusion is set up for Greek text?
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 2

Author Comment

by:Panos
ID: 35085793
I have another column in the same table (longtext not varchar) that is storing the text like:
<p>
      &Omega;&Gamma; &Gamma; &Delta;&Phi;&Gamma; &Delta;&Phi;&Gamma; &Delta;&Phi;&Gamma; &Delta;&Phi; &Phi;&Delta;</p>

using either the first or the second charset.
At least this could be done with my other columns too but it is not.
0
 
LVL 52

Accepted Solution

by:
_agx_ earned 400 total points
ID: 35086595
I think you need to add the unicode parameters to the dsn url

1) Select  Data & Services > Datasources > (Your MySQL Datasource)
2) Click:   Show Advanced Settings
3) In "Connection Settings" enter:
useUnicode=true&characterEncoding=UTF-8

Open in new window


Save the settings

0
 
LVL 2

Author Comment

by:Panos
ID: 35086801
Thank you agax.
It was finally a coldfusion  case and not mysql.
0
 
LVL 2

Author Closing Comment

by:Panos
ID: 35086833
Thank you for your help.
regards
panos
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have been using r1soft Continuous Data Protection (http://www.r1soft.com/linux-cdp/) for many years now with the mySQL Addon and wanted to share a trick I have used several times. For those of us that don't have the luxury of using all transact…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question