Teaching and Learning with Technology

Computing With Accents and Foreign Scripts

Skip Menu


This Page

  1. Latin-2 Encoding & Language Links
  2. Activate Keyboards for Typing
  3. Browser and Font Setup
  4. Web Development with Hungarian Encoding
    1. Language Codes: hu
  5. Unicode Character Codes for HTML
  6. Links

Latin-2 (Central European) Encoding

Although Central European languages like Czech, Slovak, Romanian, Polish and Hungarian are written in the Roman alphabet, these languages include characters not commonly found in Western European languages like Spanish and French. These are encoded as Unicode, Latin-2 (ISO-8859-2) or "Central European" and require special font and keyboard support separate from Western European languages.

Unicode Fonts

Modern versions of many fonts such as Times New Roman, Arial, Verdana, Tahoman Times CE (Mac OS X) or Palatino (Mac OS X) are Unicode fonts and contain the letters needed for this language. it is recommended you transistion to the newer Unicode fonts whenever possible.

Hunguarian Language

Although Hungarian is classified by location as "Central European" it is not a Slavic language. It is distantly related to Finnish and Estonian.


Activating Keyboards for Typing

Basic Setup

In order to integrate foreign scripts into your computer, you must set up "keyboard" utilities in your operating system. Keyboards will allow you to switch between typing English and other languages in word processors and Web tools. This process will also make sure the correct fonts are installed are availble for Windows or Macintosh.


Global Writer (Student Computing Labs)

As of Spring 2005, the international word processor Global Writer is available in the Student Computing Labs. This allows users to easily switch keyboards, including phonetic keyboards which mimic a QWERTY keyboard.

CLC Student Computing Labs: To open Global Writer, go to the Start » Internatinal Language Support » Unitype Global Writer.

Global Writer is available from Unitype for personal purchace.

Other Applications

Microsoft provides keyboard utilities for Central European languages which allow you to add extra characters.

  1. Go to Start then Control Panels then Regional and Language Options. Follow the instructions for Activating the Language Bar
  2. While in the Regional and Language Options control panel, click on the Languages tab, then the Details button.
  3. Click the Add button and select the target language from the Input Language dropdown menu.
  4. Click OK to close all windows and save changes.

See Detailed Instructions for more detailed instructions with screen capture images.

To see where the critical keys are, go to the Microsoft Keyboard Layouts Page.

Macintosh (System 9 & OS X )

Follow the instructions for Activating Macintosh Keyboards to activate and switch Macintosh keyboards. You need to have the Central European items installed. If they are not available on your system, you should reinstall them from a System CD.

Note: Use these Central European keyboards in OS X if you are concerned about backwards compatibility with older documents.

OS X and Extended Keyboard

For these codes you can activate the U.S. Extended keyboard. See the Extended Keyboard Accent Codes for more information.

Hungarian Extended Codes

The extended keyboard must be activated in the International System Preferences.

Extended Keyboard Codes,
V = any vowel
Double Acute ő,Ő Option+J, V
Acute ó,Ó Option+E, V
Umlaut ö,Ö Option+U, V

Example 1: To input the lower case ő (o-double acute) hold down the Option key, then the J key. Release both keys then type lowercase o.
Example 2: To input the capital Ő, hold down the Option key, then the J key. Release all three keys then type capital O.

Browser and Font Setup

Please note which fonts are needed for each platform before viewing instructions to configure your browsers in the Preferences or Tools menu. Most browsers are recommended, but older browsers like Netscape 4.7 may need more adjustments.

Fonts by Platform

Recommended Browsers

All modern browsers support this script. Click link in list to view configuration instructions. In some cases, you will be asked to match a script with a font.

Testing and Troubleshooting Web Sites

NOTE: The following test Web sites were selected randomly. They are in no way endorsed or critiqued by Penn State.

Test Web Site - www.hungarotips.com/hungarian/b/ABC.html (Hungarian Alphabet)

If you have your browser configured correctly, the Web sites above should display Hungarian letters.

Manually Switch Encoding

If you see some unusual letters instead of the appropriate Central European letters, you will need to manually switch from Western encoding to one of the Central European encodings or Unicode under the View menu of your browser.

Top of Page

Web Development Hungarian Encoding

Hungarian Encoding and Language Tags

These are the codes which allow browsers and screen readers to process data as the appropriate language. All letters in codes are lower case. If you are developing a new Web page, Unicode is recommended since the page can also support characters from Western European and Cyrillic languages.

See Using Encoding and Language Codes for more information on the meaning and implementation of these codes.

Inputting and Editing Text in an HTML Editor

One option is to use Dreamweaver, Microsoft Expression or other Web editor and change the keyboard to the correct script. This will allow you to type content in directly with the appropriate script. However, it is important to verify that the correct encoding is specified in the Web page header.

Another option is to compose the basic text in an international or foreign language text editor or word processor and export the content as an HTML or text file with the appropriate encoding. This file could be opened in another HTML editor such as Dreamweaver or Microsoft Expression, and edited for formatting.

Other Web Tools

For Web tools such as Blogs at Penn State, Facebook, Twitter, del.icio.us, Flicker, and others, users can typically change the keyboard and input text. In most cases, this content will be encoded as Unicode.

Using Encoding and Language Codes

Computers process text by assuming a certain encoding or a system of matching electronic data with visual text characters. Whenever you develop a Web site you need to make sure the proper encoding is specified in the header tags; otherwise the browser may default to U.S. settings and not display the text properly.

To declare an encoding, insert or inspect the following meta-tag at the top of your HTML file, then replace "???" with one of the encoding codes listed above. If you are not sure, use utf-8 as the encoding.

Generic Encoding Template

<meta http-equiv="Content-Type" content="text/html; charset=??? ">

Declare Unicode

<meta http-equiv="Content-Type" content="text/html; charset=utf-8 ">


The final close slash must be included after the final quote mark in the encoding header tag if you are using XHTML

Declare Unicode in XHTML

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

No Encoding Declared

If no encoding is declared, then the browser uses the default setting, which in the U.S. is typically Latin-1. Some display errors may occur.

Language Tags

Language tags are also suggested so that search engines and screen readers parse the language of a page. These are metadata tags which indicate the language of a page, not devices to trigger translation. Visit the Language Tag page to view information on where to insert it.

Top of Page

Unicode Character Codes for HTML

The Entity Codes

Use these codes to input accented letters in HTML. For instance, if you want to type jövő you would type j&ouml;v&#337.

Be sure the appropriate Encodings and Language Tags are used.

NOTE: Because these are Unicode characters, the formatting may not exactly match that of the surrounding text depending on the browser.

Acute Accent
Vwl Entity Code
Á &Aacute; (193)
á &aacute; (225)
É &Eacute; (201)
é &eacute; (233)
Í &Iacute; (205)
í &iacute;(237)
Ó &Oacute; (211)
ó &oacute; (243)
Ú &Uacute; (218)
ú &uacute; (250)
Other Accents
Vwl Entity Code
Ö &Ouml; (214)
ö &ouml; (246)
Ü &Uuml; (220)
ü &uuml; (252)
Ő &#336; 
Capital O double acute
ő &#337; 
 o double acute
Ű &#368; 
Capital U double acute
ű &#369;  
Lower u double acute

European Quote Marks

Many modern texts use American style quotes, but if you wish to include European style quote marks, here are the codes. Note that these codes may not work in older browsers.

Entity Codes for Quotation Marks
Sym HTMl Entity Code
« &laquo; (left angle)
» &raquo; (right angle)
&lsaquo; (left single angle)
&rsaquo; (right single angle)
&bdquo;(bottom quote)
&sbquo;(single bottom quote)
&ldquo;(left curly quote)
&lsquo;(left single curly quote)
&rdquo;(right curly quote)
&rsquo;(right single curly quote)
&ndash; (en dash)
&mdash; (em dash)

Top of Page


Latin 2 Resources

Hungarian Language

Last Modified: Tuesday, 04-Jun-2013 12:39:57 EDT