Re: help with character sets and collation

2006-01-28 Thread Chris
Thank you Gleb, I'm afraid I'm in over my head on this subject as I am restricted to make db changes via sql or phpmyadmin.It seem from your references the database character_set needs to be set to latin? I'm speculating to change character_sets and collations I need access to other utilites, pr

Re: help with character sets and collation

2006-01-28 Thread Gleb Paharenko
Hello. Chris, the collation is subordinated to the character set. You should work with the character sets, and only after with collations. The data which you store in your table is silently converted to ascii character set. Are you sure that the characters which you want to store are present in as

Re: help with character sets and collation

2006-01-27 Thread Chris
I'm sorry but I do not know what you mean by NO_TABLE_OPTIONS in @@sql_mode). The database has a Collation = ascii_general_ci. The only other option is ascii_bin. With respect to the table, it also has Collation of the same, ascii_general_ci. There are many Collation types which the table may

Re: help with character sets and collation

2006-01-27 Thread Gleb Paharenko
Hello. I do not see the CHARACTER SET of your table (usually SHOW CREATE includes it, may be you have NO_TABLE_OPTIONS in @@sql_mode), so I assume it is the same as database character set - ascii. Check if the problem disappears after changing the character set of your fields to utf8. Chris wro

Re: help with character sets and collation

2006-01-26 Thread Chris
Sorry, I am unable to work the command line. I have used this script instead. $sql = "show variables like '%char%'"; $result = mysql_query($sql) or die("Couldn't Select " .mysql_error()); $count = mysql_num_rows($result); //echo $count; while ($row = mysql_fetch_row($result)) foreach($row as $key

Re: help with character sets and collation

2006-01-26 Thread Gleb Paharenko
Hello. Please, execute the following statements in mysql command line and php, and provide its output to the list: show variables like '%char%'; show variables like '%collation%'; Include the CREATE statement for your table as well. Chris wrote: > I think I have a problem with mysql relate

help with character sets and collation

2006-01-25 Thread Chris
I think I have a problem with mysql related character sets and collation. With language English (en-utf-8), MySQL charset UTF-8 Unicode and a MySQL connection collation: ascii_general_ci. I can execute a sql statement in phpmyadmin, like "INSERT INTO mytable (id, name) VALUES ('5','Unterwinkel