![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Saved to VarChar field in MySQL 5.1.31 doesn't work. e.g. ????????? |
|
Any clues as to how I can do this? |
#3
| |||
| |||
|
|
Saved to VarChar field in MySQL 5.1.31 doesn't work. e.g. ????????? Any clues as to how I can do this? |
#4
| |||
| |||
|
|
R C Nesbit <spam (AT) ukrm (DOT) net> wrote: Saved to VarChar field in MySQL 5.1.31 doesn't work. e.g. ????????? Excellent problem description! |
|
Any clues as to how I can do this? First you should RTFM: http://dev.mysql.com/doc/refman/5.1/en/charset.html Then you can start to check things: |
#5
| |||
| |||
|
|
Saved to VarChar field in MySQL 5.1.31 doesn't work. e.g. ????????? Any clues as to how I can do this? Check that the table is using a character setup which supports the character setup that your crylic data is in? |
#6
| |||
| |||
|
|
J.O. Aho spoke: Saved to VarChar field in MySQL 5.1.31 doesn't work. e.g. ????????? Any clues as to how I can do this? Check that the table is using a character setup which supports the character setup that your crylic data is in? See other post - 99% of the time is is standard ASCII (utf-8) |
#7
| |||
| |||
|
|
Axel Schwenke spoke: R C Nesbit <spam (AT) ukrm (DOT) net> wrote: Saved to VarChar field in MySQL 5.1.31 doesn't work. e.g. ????????? Excellent problem description! Well now you might see my problem! When I cut n pasted the original into my newsreader it looked fine! Now it comes out as ????????? |
|
Trying to import transactions from Ebay. 99% of stuff is UK, 1% is 'other' European languages, so French and Spanish accented characters fail, as does Cyrillic. |
#8
| |||
| |||
|
|
Trying to import transactions from Ebay. 99% of stuff is UK, 1% is 'other' European languages, so French and Spanish accented characters fail, as does Cyrillic. |
#9
| |||
| |||
|
|
J.O. Aho spoke: Saved to VarChar field in MySQL 5.1.31 doesn't work. e.g. ????????? Any clues as to how I can do this? Check that the table is using a character setup which supports the character setup that your crylic data is in? See other post - 99% of the time is is standard ASCII (utf-8) |
#10
| |||
| |||
|
|
Your problem is that you assume the text is one charset (A), you have a database table that uses another charset (B) and it may get even worse if you display it in yet another charset (C). |
|
1. Be sure you know the original charset 2. Convert the text to the charset of the database table before you store the data |
|
3. Convert the text to the display charset after you have fetched the data from the database. |
![]() |
| Thread Tools | |
| Display Modes | |
| |