文件名称:urlencode
- 所属分类:
- Internet/网络编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 7kb
- 下载次数:
- 0次
- 提 供 者:
- pcl***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
因为在编写一个应用程序中需要访问网页,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
--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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
testUrlEncode
.............\stdafx.cpp
.............\stdafx.h
.............\targetver.h
.............\test.h
.............\testprintw.cpp
.............\testUrlEncode.cpp
.............\testUrlEncode.vcproj
.............\testUrlEncode.vcproj.V-0A2F4FEAAD984.v.user
urlencode
.........\CUrlEncodeUnicode.cpp
.........\CUrlEncodeUnicode.h
urlencode.sln
说明.txt
.............\stdafx.cpp
.............\stdafx.h
.............\targetver.h
.............\test.h
.............\testprintw.cpp
.............\testUrlEncode.cpp
.............\testUrlEncode.vcproj
.............\testUrlEncode.vcproj.V-0A2F4FEAAD984.v.user
urlencode
.........\CUrlEncodeUnicode.cpp
.........\CUrlEncodeUnicode.h
urlencode.sln
说明.txt