Hi all, Sam:
I encounter some trouble when i uploaded attachment in sqwebmail. All
GB2312/Big5 or JP encoding filename were changed into ________.(sufix).
For example: an attachment's filename encoding with gb2312 -> ����.zip.
After upload it , i found it has been changed into ____.zip in the draft
file...Is this a bug or mis-design??
The following is the code to do that:
while(*ff)
{
if (*ff <= ' ' || *ff >= 127
|| strchr("'\";,\\=:", *ff))
*ff='_';
++ff;
}
It seems that this code ignore all charater not in english(ASCII)...All
trouble were caused by this code.. i just comment it and all things go well.
But why Mr sam design as this??
--
Best regards
"hzqbbc"<[EMAIL PROTECTED]>
-------------------------------------------------
China Telecom Corporation, gz subcompany.
office: 020-38810003
home: 020-82296017
------------------------------------------
Power by LDAPmailer - by [EMAIL PROTECTED]
Commerical support - mail me or visit:
http://devel.hzqbbc.com for more detail :)
------------------------------------------