Title: search and sort asp Access in Chinese pinyin by stabx, Third Edition
Body:
Quote:
Asp access pinyin order by shawl. Qiu
This version implements the functionality not implemented in the previous revision, that is, integrating URL query parameters.Use select case.
Function:1. One character can be searched for Chinese
April 2008, I encountered a problem in the ASP, that is, the issue of Chinese pinyin to the problem, which needs to deal with pronunciation.In the SQL2000 database, the corresponding pinyin of Chinese characters is stored in this way.Id Hanzi Pinyin1, a E.2 You NI3 Heavy Chong Zhong4. ...Effect of implementation:The ef
Function code for converting Chinese characters into pinyin characters in php. Click here to download the source file copy code: functionPinyin ($ _ String, $ _ Codegb2312) {$ _ DataKeya | ai | an | ang | ao | ba | bai | ban | bang | bao | bei | ben | beng | bi | bian | biao | bie | bin click here download source file
The code is as follows:
Function Pinyin ($
This article shares an article about the php Chinese character conversion pinyin implementation program. If you need it, refer to.
The Code is as follows:
Copy code
Function Pinyin ($ _ String, $ _ Code = 'utf8') {// the GBK page can be changed to gb2312.$ _ DataKey = "a | ai | an | ang | ao | ba | bai | ban | bang | bao | bei | ben | ben
/*The programmer's goal isConquer the stars of the sea ~*/-(NSString *) Firstcharactor: (NSString *) astring{Turns into a mutable stringnsmutablestring *str = [nsmutablestring stringwithstring:astring];Convert to pinyin with tones firstCfstringtransform ((cfmutablestringref) str,null, kcfstringtransformmandarinlatin,no);Convert to pinyin with no tonesCfstringtransform ((cfmutablestringref) str,null, kcfstri
This article mainly introduces the function code for converting Chinese characters into pinyin in PHP. php converts Chinese characters into pinyin, interested friends can refer to the example in this article to share with you the function code for converting Chinese characte
PHP UTF-8 Chinese to Pinyin processing class, the performance has been optimized to the extreme. Optimized the traditional Pinyin conversion processing class algorithm, specifically for the UTF-8 character set for processing, Chinese to pinyin (one character per processing).
: This article mainly introduces the function code for converting Chinese characters into pinyin in PHP. For more information about PHP tutorials, see. This article provides an example of the function code for converting Chinese characters into pinyin in PHP for your reference. the specific implementation content is as
This article mainly introduces the function code for converting Chinese characters into pinyin in PHP. php converts Chinese characters into pinyin, interested friends can refer to the example in this article to share with you the function code for converting Chinese characte
Functions for generating pinyin for Chinese characters: Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiAPI/html/delphi_20061114182415235.html
How can we call a function to generate a Chinese character in pinyin?
For example, input "penicillin" to generate "QMS"
Please let me know. Thank you!
Functions from
Oracle to achieve Chinese characters according to Pinyin, strokes and radical sort of some relevant information, are not very clear, they also studied the next, finally understand, hope to help.
It should be explained that the following method requires oracle9i and above to support.
Before Oracle9i, Chinese is sorted according to binary encoding.
In oracle9i, acc
Php Chinese character to pinyin example. Copy the code as follows :? Bytes
The code is as follows:
Class Helper_Spell {Public $ spellArray = array ();Static public function getArray (){Return unserialize(file_get_contents('pytable_without_tune.txt '));}/*** @ Desc get the first letter of the string* @ Param $ string the string to be converted* @ Param $ whether isOne is the first letter* @ Param $ wheth
This article mainly introduces the example of converting Chinese characters into pinyin in php. For more information, see
The code is as follows:
Class Helper_Spell {
Public $ spellArray = array ();
Static public function getArray (){
Return unserialize(file_get_contents('pytable_without_tune.txt '));
}
/**
* @ Desc get the first letter of the string
* @ Param $ string the string to be converted
* @ Para
", "Zang", "Zao", "Ze", "Zei", "Zen", "Zeng", "Zha", "Zhai", "Zhan", "Zhang","Zhao", "Zhe", "Zhen", "Zheng", "Zhi", "Zhong", "Zhou", "Zhu", "Zhua", "Zhuai", "Zhuan", "Zhuang","Zhui", "Zhun", "Zhuo",#endregion
2. Then is the Pinyin processing method
#region Pinyin Processing
Translate a string of Chinese into pinyinIf a given character is a non-
Php converts Chinese characters to pinyin
Function Pinyin ($ _ String, $ _ Code = 'gb2312 ')
{
$ _ DataKey = "a | ai | an | ang | ao | ba | bai | ban | bang | bao | bei | ben | beng | bi | bian | biao | bie | bin | bing | bo | bu | ca | cai | can | cang | cao | ce | ceng | cha ".
"| Chai | chan | chang | chao | che | chen
Recently to develop the conversion of Chinese characters to pinyin and to get the function of the first word record down Hazi: hehe ~
Class pinyin{Private $_outencoding = "GB2312"; Public Function Getpinyin ($str, $pix = ', $code = ' gb2312 ') {$_datakey = ' a|ai|an|ang|ao|ba|bai|ban|bang|bao|bei|ben| Beng|bi|bian|biao|bie|bin|bing|bo|bu|ca|cai|can|cang|cao|ce|
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.