prop_name with international characters problem
Posted: Fri Mar 09, 2007 6:36 pm
Hello,
The first time i've got this problem, i didn't pay any attention. The second time i got this problem on different database and CMS version, i took some time to investigate.
The thing is, that is that i create prop_name with international characters, like ąčęėįšū, i can't put any value into the content column at the content_props table.
This happens becouse when i try to add content content, cms retrieves prop_names from the database in wrong encoding.
Let me give you an example. I have installed a cataloger module. And i created a user defined attribute with name lets say "ąčęėėįįššųūųū9". Than i go to add a new catalog item, i write something in the input box, that should be named "ąčęėėįįššųūųū9" and submit it. I go to check the databe, and the field at the "content" column appears to be blank.
I checked the source of the admin panel, where i add new catalog item. You can see it here http://armindina.lt.mamutas.serveriai.lt/images/band/prop.gif. You see the question marks at the input name?
I believe this has to be something with the encoding... right?
I had the same problem when useing form building module: i create an input form and name it with international characters. I have tested this on CMS MS MLE 1.0.2 build4 and CMS MS 1.0.4
Please pardon me for my language and explaining this "bug" in such difficult way.
Any suggestions, comments or tips, how this could be solved would be appreasiated.
If there is something i could say to make it more easy to understand, please, let me know.
Sincerely,
Liudas
The first time i've got this problem, i didn't pay any attention. The second time i got this problem on different database and CMS version, i took some time to investigate.
The thing is, that is that i create prop_name with international characters, like ąčęėįšū, i can't put any value into the content column at the content_props table.
This happens becouse when i try to add content content, cms retrieves prop_names from the database in wrong encoding.
Let me give you an example. I have installed a cataloger module. And i created a user defined attribute with name lets say "ąčęėėįįššųūųū9". Than i go to add a new catalog item, i write something in the input box, that should be named "ąčęėėįįššųūųū9" and submit it. I go to check the databe, and the field at the "content" column appears to be blank.
I checked the source of the admin panel, where i add new catalog item. You can see it here http://armindina.lt.mamutas.serveriai.lt/images/band/prop.gif. You see the question marks at the input name?
I believe this has to be something with the encoding... right?
I had the same problem when useing form building module: i create an input form and name it with international characters. I have tested this on CMS MS MLE 1.0.2 build4 and CMS MS 1.0.4
Please pardon me for my language and explaining this "bug" in such difficult way.
Any suggestions, comments or tips, how this could be solved would be appreasiated.
If there is something i could say to make it more easy to understand, please, let me know.
Sincerely,
Liudas