Category: Life & Work

Why drupal mail messy code

Drupal mail encoding is iso-8859-1, but not utf-8. So mail include CJK may not display right.

The reason is phpmailer set the default encoding to iso-8859-1, just change it to utf-8 will correct this bug.

phpmailer Content-Transfer-Encoding is 8bit, but not BASE64.

somthing about Content-Transfer-Encoding,

see http://bbs.chinaunix.net/viewthread.php?tid=1150250

We should use 8bit or base64?

http://hi.baidu.com/hhflying/blog/item/84b16fdff898991a49540328.html

http://www.luocong.com/articles/show_article.asp?Article_ID=17

2010勇往直前

1.增强关注领域 marketing finace 项目管理 social information worldwide business

2.增强 时间管理

3.习惯 快速做决定

4.改善生活习惯

search the files include the string in a folder under linux.

find ./  -name "*.*" | xargs grep  "drupal_access_denied"
search file names under linux.

Suggest a command site:

commandperls.com

to find useful commands.