problem of the multi-byte language

setsu

No avatar

2008-03-23 06:29

A link does not work, when a title is multi-byte language in IE.
It is settled when urlencode.
line 445 of "Trash.php"

return strtolowerchange2Latinstr_replace$aFrom$aTotrim$sContent ) ) ) );


to

return strtolowerchange2Latinstr_replace$aFrom$aTotrimurlencode$sContent ) ) ) ) );



However, just, for example,
"よくある質問" becomes "-e3-82-88-e3-81-8f-e3-81-82-e3-82-8b-e8-b3-aa-e5-95-8f".
Therefore, It is deleted "%" and "-" by "$aFrom..." and "$aTo...".
Then "よくある質問" become "%e3%82%88%e3%81%8f%e3%81%82%e3%82%8b%e8%b3%aa%e5%95%8f".

Will not you have any problem by these measures method?

» Quick.Cms v2.x

setsu

treewood (OpenSolution)

Avatar: treewood

2008-03-25 10:23

setsu - edit function change2Latin ... maybe there you will find some charset to replace

setsu

No avatar

2008-03-26 10:26

treewood. But I am a Japanese. I cannot change our all characters.
I think that I have to urlencode "$sContent".
Thank you.

Back to top
about us | contact