/** the following JS can be placed with a. js file **/This conversion code is posted from the network, after I modified hereby explainvar default_isft = 0; Default whether traditional, 0-simplified, 1-Traditionalvar stranit_delay = 50; Translation
declare @jall nvarchar (4000), @fall nvarchar (4000)select @jall =n ' Ah Ae, alas, Ai cancer ai ai-ai, I press the Dark bank amine, the Alang ao ao regretful Australian ba grilled ba-ba scar ba-ba-da-pai-pa-i-bai-Bai-the-beat-PA class moved to the
Script, according to own production completedA AH pickled acridine and alas ah Alas einsteinium AI cancer disinfectants ah short ai Margaret Oh Aisi warm ai mitsu obstruction ai ann, the Sian of 玵 Zengcuoan familiar with the ammonia, OM, 揞 shore
UTF8 character set in simplified and traditional mutual transfer UTF8 character set in simplified and traditional mutual transfer
/*utf8 character set in simplified and traditional mutual transfer * *
//
PHP$testC=NewTESTC ();$testC-index ();classTESTC {Private $utf 8_gb2312; Private $utf 8_big5; Public function__construct () {$this->utf8_gb2312 = " Wan and Ugly professional Condons lost two strict footstep Fenglin for Li Lift, Yiwu Lecho Xi
Have looked for a JS version, but to the UTF8 code can not be used, so it produced a self-written idea. In fact, my implementation of this code is very simple, just a replacement character set process, I believe most people can write it out. The
Once looked for a JS version of the, but to the UTF8 code can not be used, and then produced a self write a thought. In fact, the principle of the implementation of this code is very simple, just a replacement character set process, I believe most
Copy Code code as follows:
' Chinese name Stroke calculation (VBS script version)
Dim Word,key
Word=inputbox ("Please enter the text you want to calculate")
If word= "" Then
MsgBox "The demo is not to say you don't enter text?"
//
Class Utf8_chinese
{
Private $utf 8_gb2312;
Private $utf 8_big5;
Public Function __construct () {
$this->utf8_gb2312 = " Million and ugly professional Condons lost two strict footstep Fenglin for Li Lift,
PHP Chinese Traditional and simplified mutual conversion method,
In this paper, we describe the method of translating PHP into Chinese traditional and simplified. Share to everyone for your reference. The specific analysis is as follows:
The
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.