Location:
Search - CUrlEncodeUnico
Search list
Description: 因为在编写一个应用程序中需要访问网页,URL中带中文,发现在后台保存到数据库中的数据是乱码。原来是API函数 InternetCanonicalizeUrl()并不支持中文的编码,花了大量时间亦找不到合用的API函数,回头一想,自己写个函数比上网找更快,就动手写了这个类CUrlEncodeUnicode。此源程序经精心设计,运行速度非常高,可胜任于高性能应用场合。
--pclion-Since in the preparation of applications required a visit to the page, URL in with English, found in the background is saved to the data in the database are garbled. The original API functions are InternetCanonicalizeUrl () does not support the encoding of English, spent a lot of time can not find the combination of the API function, think back to one that they write a function to find the Internet more quickly than on the type of hands-Writing CUrlEncodeUnicode. This source as well-designed, very high speed, can be competent in high-performance applications.- pclion
Platform: |
Size: 7168 |
Author: pclion |
Hits: