Strict Standards: Redefining already defined constructor for class wpdb in /home/cyndi/rain.snowrain.org/wp-includes/wp-db.php on line 56

Deprecated: Assigning the return value of new by reference is deprecated in /home/cyndi/rain.snowrain.org/wp-includes/cache.php on line 36

Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /home/cyndi/rain.snowrain.org/wp-includes/cache.php on line 384

Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl($output) in /home/cyndi/rain.snowrain.org/wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl($output) in /home/cyndi/rain.snowrain.org/wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el($output) in /home/cyndi/rain.snowrain.org/wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el($output) in /home/cyndi/rain.snowrain.org/wp-includes/classes.php on line 541

Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el($output) in /home/cyndi/rain.snowrain.org/wp-includes/classes.php on line 560

Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl($output) in /home/cyndi/rain.snowrain.org/wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl($output) in /home/cyndi/rain.snowrain.org/wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el($output) in /home/cyndi/rain.snowrain.org/wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el($output) in /home/cyndi/rain.snowrain.org/wp-includes/classes.php on line 659

Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el($output) in /home/cyndi/rain.snowrain.org/wp-includes/classes.php on line 684

Deprecated: Assigning the return value of new by reference is deprecated in /home/cyndi/rain.snowrain.org/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /home/cyndi/rain.snowrain.org/wp-includes/theme.php on line 540

Deprecated: Assigning the return value of new by reference is deprecated in /home/cyndi/rain.snowrain.org/wp-content/plugins/coolcode/PEAR/Text/Highlighter.php on line 212

Deprecated: Assigning the return value of new by reference is deprecated in /home/cyndi/rain.snowrain.org/wp-content/plugins/coolcode/PEAR/Text/Highlighter.php on line 366

Deprecated: Assigning the return value of new by reference is deprecated in /home/cyndi/rain.snowrain.org/wp-content/plugins/coolcode/PEAR/PEAR.php on line 565

Deprecated: Assigning the return value of new by reference is deprecated in /home/cyndi/rain.snowrain.org/wp-content/plugins/coolcode/PEAR/PEAR.php on line 568
CYNDI

手机和outlook的VCARD

市面上大部分手机在存储vcard时是使用UTF-8编码(显式声明),而outlook是使用GB2312(未显式声明).

其中nokia能解析显式声明为UTF-8和GB2312的文件,索爱只能解析UTF-8.(在这一点上,nokia的兼容性更好一些)

这导致了使用nokia和索爱的手机产生的vcard文件与outlook互相之间均不兼容.

如果contact在存储时也改为UTF-8编码(显式声明),这样可以保证传给别人的别人能正确识别,但outlook无法识别.

如果contact存储时改为GB2312编码(显式声明),则nokia和outlook能识别,索爱无法识别.
很遗憾,最后决定迁就nokia和索爱,放弃outlook.选择了用UTF-8存储. 

另外,contact在解析时支持显示声明为UTF-8和GB2312的,同时将未显式声明的当作GB2312处理.这样可以保证收到别人的我们能正常识别,包括能识别outlook的.尽可能的让兼容性更好.

Comments

搞定PHP+MYSQL中文乱码问题(转)

Comments (1)

Joomla后记

Comments (19)

Web服务(Web Service)

Comments (22)

W3C标准细数

Comments (2)

边学边记之Joomla

Comments (27)

宽字符处理函数函数与普通函数对照表

Comments (2)

浅谈C中的wprintf和宽字符显示

Comments

终于开始要还贷了~~

Comments (22)

项目管理2

Comments (2)

« Previous entries