topics that matter; ideas worth sharing

share a tip, submit a link, add something new

More than just English

on this topic
April 10, 2001, 07:11 PM —  Unix Insider — 

Previously, we have reported on the ability of several languages to process Unicode correctly. Recall that Unicode is the current standard for encoding most human written languages. This installment of Regular Expressions is a tutorial for English-speaking developers on how to get started with these capabilities.

There's a wealth of available literature on computer representations of human languages. The Resources below point to leading sites that will satisfy even the largest appetites for details on this subject. Our method today is to simplify this abundance down to a few steps that are sure to bring a Unicode newcomer quick successes.

In the United States, computer users conventionally use a keyboard that corresponds closely or exactly to the ASCII encoding chart. The alphabet does not include any accented characters. Even in Western Europe, a region so culturally close to the United States, keyboards are typically localized to facilitate writing with richer character sets. Every language used in Europe other than English requires diacritics for correct spelling.

Most modern desktop computers are delivered with the ability to display at least the languages of Western Europe. The first problem for a US user is just to enter accented characters. Netscape, especially during the heyday of its browser, did a commendable job of documenting this information. If you're sitting at a Windows desktop, for example, Netscape is right to recommend that you use the ALT-integers for character entry. Suppose you want to write:

déjà

With a keyboard from Western Europe, you can probably do this directly. In the United States, though, you'll likely need to press these keys, in succession:

  1. d
  2. Set NumLock. While holding down ALT, pick the digits 0, 2, 3, and 3 from the numeric keypad. This sequence is often abbreviated as \0233.
  3. j
  4. Hold ALT down again to type \0224.

At this point, you should see d

» posted by ITworld staff

Unix Insider

I like it!
Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
Resources
White Paper

Symantec Backup Exec 12 and Backup Exec System Recovery 8 deliver industry leading Windows data protection and system recovery. Download this whitepaper to find out the top reasons to upgrade and how to get continuous data protection and complete system recovery.

Webcast

Data and system loss — from a hard drive failure, malicious attack, natural disaster, or simple human error — can happen anytime. Don’t leave your business vulnerable. Make sure you have a secure recovery strategy in place. Symantec's latest backup and system recovery technology can efficiently restore critical applications, individual emails and documents and even restore your entire system in minutes in the event of a loss.

White Paper

Businesses face a growing challenge to ensure that the IT environment is properly protected. Backup Exec 12 integrates with other applications in the Symantec family of products, to complement your current data protection strategy, keep your data securely backed up and make it recoverable when you need it most.

Free stuff
Featured Sponsor

Get a broad understanding of important regulations and how you can make sure your site is in adherence.





Learn how VeriSign SGC-enabled SSL Certificates can help improve site security and customer confidence in the free white paper, "How to Offer the Strongest SSL Encryption." In this paper you will learn the differences between weak and strong encryption and what they mean for your site's performance.

Get VeriSign's free white paper: "The Latest Advancements in SSL Technology" and learn about the benefits of strong SSL encryption, Extended Validation (EV) SSL and security trust marks and what these SSL offerings can do for your site.

Now with Extended Validation (EV) SSL available from VeriSign, you can show your customers that they can trust your site. Learn about EV SSL benefits in this free VeriSign white paper.

More Resources