Encoding of Chinese Characters

In computer text applications, the GB encoding scheme most often renders simplified Chinese characters, while Big5 most often renders traditional characters. Although neither encoding has an explicit connection with a specific character set, the lack of a one-to-one mapping between the simplified and traditional sets established a de facto linkage.

Since simplified Chinese conflated many characters into one and since the initial version of the GB encoding scheme, known as GB2312-80, contained only one code point for each character, it is impossible to use GB2312 to map to the bigger set of traditional characters. It is theoretically possible to use Big5 code to map to the smaller set of simplified character glyphs, although there is little market for such a product. Newer and alternative forms of GB have support for traditional characters. In particular, mainland authorities have now established GB 18030 as the official encoding standard for use in all mainland software publications. The encoding contains all East Asian characters included in Unicode 3.0. As such, GB 18030 encoding contains both simplified and traditional characters found in Big-5 and GB, as well as all characters found in Japanese and Korean encodings.

Unicode deals with the issue of simplified and traditional characters as part of the project of Han unification by including code points for each. This was rendered necessary by the fact that the linkage between simplified characters and traditional characters is not one-to-one. While this means that a Unicode system can display both simplified and traditional characters, it also means that different localization files are needed for each type.

The Chinese characters used in modern Japanese have also undergone simplification, but generally to a lesser extent than with simplified Chinese, it's worth mentioning that Japanese writing system reduced the number of Chinese characters in daily use, which was also part of the Japanese language reforms, thus, a number of complex characters were written phonetically. Reconciling these different character sets in Unicode became part of the controversial process of Han unification. Not surprisingly, some of the Chinese characters used in Japan are neither 'traditional' nor 'simplified'. In this case, these characters cannot be found in traditional/simplified Chinese dictionaries.

As a conclusion, GB18030 is the better choice for both Simplified Chinese and Traditional Chinese. Accordingly, in Google's language settings, zh-Hans/lang_zh_Hans is for Simplified Chinese and zh-Hant/lang_zh_Hant is for Traditional Chinese.

http://en.wikipedia.org/wiki/Simplified_Chinese_characters
http://www.google.com/coop/docs/cse/resultsxml.html#chineseSearch

Why You Need a Private Search Engine

By create your own private search engine, you can put all your regular visiting websites into a single interface html page, then set it as your homepage. If you like, you can even set automatic login by a single click.

http://esupport.icewarp.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=51

Set Language in Private Search Engine

Our previous posting Create Your Own Search Engine (http://koncordpartners.blogspot.com/2009/07/create-your-own-search-engine.html) could only display search results in English. Actually, the codes in that posting only have 4 parameters, you can add much more to suit your own needs. These 4 Google WebSearch Query Parameters are:

cx - Required. The cx parameter specifies a unique code that identifies a custom search engine. You must specify a Custom Search Engine using the cx parameter to retrieve search results from that CSE.

ie - Optional. The ie parameter sets the character encoding scheme that should be used to interpret the query string. The default ie value is latin1.

q - Optional. The q parameter specifies the search query entered by the user. Even though this parameter is optional, you must specify a value for at least one of the query parameters (as_epq, as_lq, as_oq, as_q, as_rq) to get search results.

sa - Required. It is indeed you submit the search query to Google search engine.

Today, we add three more parameters to show how the Simplified Chinese and Traditional Chinese can be interchangeable as search result.

hl - Optional. The hl parameter specifies the interface language (host language) of your user interface. To improve the performance and the quality of your search results, you are strongly encouraged to set this parameter explicitly. However, a successful search engine does not rely only on the parameters, but also settings of search engine itself. That is why you may also need your own account. “Site language”, is not only the site language, but also the search engine host language (the display language other than search result). Naturally, it should be set as English. “Your site encoding”, which is the searching language, should be GB18030 in this example.

lr - Optional. The lr (language restrict) parameter restricts search results to documents written in a particular language. Google WebSearch determines the language of a document by analyzing:

- the top-level domain (TLD) of the document's URL
- language meta tags within the document
- the primary language used in the body text of the document

c2coff - Optional. The c2coff parameter enables or disables the Simplified and Traditional Chinese Search feature. Please note, this parameter is only related to Chinese. For other language, no need to use this. The default value for this parameter is "0" (zero), meaning that the feature is enabled. Values for the c2coff parameter are: 1 is disabled, and 0 is enabled.

Following is codes with these two parameters. It means the search will be restricted to only websites wrote in three languages: US English, Simplified Chinese and Traditional Chinese.

<!DOCTYPE  html  PUBLIC  "-//W3C//DTD  XHTML  1.0  Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html  xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        <head>
                <title>
                        This  is  private  search  engine  using  Google  facility
                </title>
        </head>
        <body>
                </br>
                </br>
                </br>
                </br>
                </br>
                </br>
                </br>
                </br>
                <form  id="cse-search-box"  action="http://www.google.com/cse">
                        <input  type="hidden"  value="partner-pub-3597878264183301:140hrt-vklq"  name="cx">
                        <input  type="hidden"  value="GB18030"  name="ie">
                        <input  type="hidden"  value="lang_en|lang_zh-Hans|lang_zh-Hant"  name="lr">
                        <input type="hidden" value="0" name="c2coff">
                        <p  align="center">
                                <img  alt="Google"  src="http://www.google.com/intl/en_us/images/logo.gif"  />
                        </p>
                        <p  align="center">
                                <input  size="50"  name="q">
                                <input  type="submit"  value="Search"  name="sa">
                        </p>
                </form>
                <p  align="center">
                          Koncord  Private  Search  Engine  Based  on  New  Google  Technology
                </p>
        </body>
</html>

http://www.google.com/coop/docs/cse/resultsxml.html

Create Your Own Search Engine

Following is the most basic HTML code to create the custom search engine based on Google’s technology. Actually, it just passes parameters to Google’s search engine. If you have your own AdSense account, replace it with yours. You can always change the words and contents as you wish. You may also wish to save it as home page for your browser.

<!DOCTYPE  html  PUBLIC  "-//W3C//DTD  XHTML  1.0  Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html  xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        <head>
                <title>
                        This  is  private  search  engine  using  Google  facility
                </title>
        </head>
        <body>
                </br>
                </br>
                </br>
                </br>
                </br>
                </br>
                </br>
                </br>
                <form  id="cse-search-box"  action="http://www.google.com/cse">
                        <input  type="hidden"  value="partner-pub-3597878264183301:140hrt-vklq"  name="cx">
                        <input  type="hidden"  value="ISO-8859-1"  name="ie">
                        <p  align="center">
                                <img  alt="Google"  src="http://www.google.com/intl/en_us/images/logo.gif"  />
                        </p>
                        <p  align="center">
                                <input  size="50"  name="q">
                                <input  type="submit"  value="Search"  name="sa">
                        </p>
                </form>
                <p  align="center">
                          Koncord  Private  Search  Engine  Based  on  New  Google  Technology
                </p>
        </body>
</html>



Following is the most essential part of the HTML. Save it as HTML format and replace “<“ with “<” since blogspot.com using HTML and it is not possible to publish .
<html>
<body>
<form id="cse-search-box" action="http://www.google.com/cse">
<input type="hidden" value="partner-pub-3597878264183301:140hrt-vklq" name="cx">
<input size="50" name="q">
<input type="submit" value="Search" name="sa">
</form>
</body>
</html>

That is what looks like:



http://www.google.com/coop/docs/cse/resultsxml.html

Install Oracle Enterprise Linux on VMware Server

Atul Kumar has provided very clear procedures how to download and install VMware 2.0 and Oracle Enterprise Linux for Oracle database in http://onlineappsdba.com/index.php/2009/01/26/download-install-vmware-20-and-oracle-enterprise-linux-for-oracle-database/.

This article is served as an supplement to Atul Kumar's procedure.

1.Download and Unzip Oracle Enterprise Linux 5

Click http://koncordpartners.blogspot.com/2009/07/download-oracle-enterprise-linux.html to learn more about this. Please download Oracle Enterprise Linux 5 instead of JeSO. Please do only unzip and do NOT extract files out from ISO files. The VMware will read ISO files directly.

2.Download and Install VMware Server on Windows Machine

Click http://koncordpartners.blogspot.com/2009/07/installation-of-vmwares-vmware-server.html to learn more about this.

3.Configure Linux Machine on VMware Server

First, create a local folder/driver to store VM related files. This can be a folder in your C:\ Driver. In Atul Kumar's example, it is E:\ Driver. Then, copy your unzipped Linux files into this folder. The Linux files should be in iso format. Now, you can start Atul Kumar's procedure No.3.

After click “Use an ISO Image”, please point to the first ISO disc file, such as “Enterprise-R5-U3-Sever-i386-disc1.iso”.

4.Install Oracle Enterprise Linux 5 on VMware Server 2.0

Atul Kumar's procedure No.4 indeed is another article: http://onlineappsdba.com/index.php/2009/01/28/install-oracle-enterprise-linux-52-on-vmware-server-20/.

In VMware, click your VM in Inventory at left hand side, you will see Console appears on the middle pane. Click it, if you have not install Console, install it now.

After finish install iso disc 1, you will be prompted to change CDROM: Please insert Enterprise Linux disc 2 to continue. You need to:

a) Press Ctrl Alt. This enable you switch from Linux to Windows. Ctrl G will enable you switch from Windows to Linus.
b) Move mouse to the top of Linux installation window, click Devices.
c) You need to first disconnect the previous disc you have done, by click Disconnect...(the name of your previous Linux disc), next to CD/DVD Drive 1.
d) A pop-up window will ask you to confirm this action. Click Yes.
e) Move mouse to the top of Linux installation window, click Devices.
f) Click CD/DVD Drive 1.
g) Click Connect to Disk Image File (iso).
h) Find “Enterprise-R5-U3-Sever-i386-disc2.iso”.

Do the same for rest discs.

5.Install 10g Database or Oracle Apps 11i/R12 on Oracle Enterprise Linux

Sure, it is not limited to 10g Database or Oracle Apps 11i/R12 only.

http://onlineappsdba.com/index.php/2009/01/26/download-install-vmware-20-and-oracle-enterprise-linux-for-oracle-database/
http://onlineappsdba.com/index.php/2009/01/28/install-oracle-enterprise-linux-52-on-vmware-server-20/
http://onlineappsdba.com/index.php/2007/03/04/install-oracle-enterprise-linux-on-vmware/

Installation of VMware's VMware Server

First, what is it? VMware Server is a software enable you to create a multiple virtual machines within your existing operating system. It is not a virtual machine itself.

VMware Server is a Virtual Private Server (Server Virtualization). A VPS, also referred to as Virtual Dedicated Server (VDS), is a method of partitioning a physical server computer into multiple servers such that each has the appearance and capabilities of running on its own dedicated machine. Each virtual server can run its own full-fledged operating system, and each server can be independently rebooted. The physical server boots normally. It then runs a program that boots each virtual server within a virtualization environment. The virtual servers have no direct access to hardware and are usually booted from a disk image. A disk image is a single file or storage device containing the complete contents and structure representing a data storage medium or device, such as a hard drive, CD, or DVD. Some disk imaging utilities omit unused file space from source media, or compress the disk they represent to reduce storage requirements, though these are typically referred to as archive files, as they are not literally disk images. The most common format of disk image is ISO.

Install and run VMware Server as an application on top of a host Windows or Linux operating system. A thin virtualization layer partitions the physical server so you can run multiple virtual machines simultaneously on a single server. Computing resources of the physical server are treated as a uniform pool of resources that can be allocated to virtual machines in a controlled manner.

VMware Server isolates each virtual machine from its host and other virtual machines, leaving it unaffected if another virtual machine crashes. Your data does not leak across virtual machines and your applications can only communicate over configured network connections. VMware Server encapsulates a virtual machine environment as a set of files, which are easy to back-up, move and copy.

According to Vmware, VMware Server is typically used in the following scenarios:

■Assessing virtualization for the 1st time
■Evaluating software using virtual machines
■Test and development of software and IT environments

Following matrix can help to determine if VMware Server is suitable:



https://www.vmware.com/freedownload/login.php?product=server20 is the site for download. A free registration is needed. Go to your email account to activiate before download. In “Binaries”, select the option in according with the current operating system. During installation process, you may also prompt to enter serial number, which can be find in the same email.

A icon of VMware Server Home Page will be created. However, when click this icon, someone might be found https://[localhost, usually it is your computer name; no square brackets]:8333/ui/# could not be acceessed. In this case, you would need to try again and set allow intranet.

Some may find following message:

There is a problem with this website's security certificate.
The security certificate presented by this website was not issued by a trusted certificate authority.

Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.

We recommend that you close this webpage and do not continue to this website.
- Click here to close this webpage.
- Continue to this website (not recommended).
- More information.


Please click “Continue to this website (not recommended).”

Then, when you try to access VMware Server, you may get an error message saying "Access Denied" or ask you to enter the Login Name and Password in a pop-up window of VMware Infrastructure Web Access. Please use your Window's Login Name and Password. Remember, you must have Administrator previlege in your PC.

By now, you should have no problem to download, install and login the VMware Server.

Rating? Five Stars from us.

http://www.vmware.com/products/server/overview.html
http://en.wikipedia.org/wiki/Server_virtualization
http://en.wikipedia.org/wiki/Disk_image
http://www.electrictoolbox.com/access-denied-vmware-infrastructure-web-access/

Labels