History
Khmer script in computing
Khmer script in computing is the history of how the Khmer script came to be typed, stored and read on computers and phones.[1][2]
Before a shared standard, Khmer text was written in fonts that each used their own encoding, and text could be read only with the same font.[1][3] A Khmer encoding for Unicode was settled in 1999, and the Cambodian government accepted its code table in 2002.[1][4] Volunteers and the KhmerOS project then brought the script to free software on Linux and Windows, and developers later brought it to phones.[2][5][6]
Legacy fonts
Javier Solá, who coordinated the KhmerOS project, told The Cambodia Daily that Khmer script had up to 30 different encodings before Cambodia had a standard, a situation he called a "mess".[1] A 2005 United Nations Development Programme primer on software localization counted up to 26 font encodings, which worked well enough in Microsoft Word.[2]
Fonts in wide use included Khek, Limon and Zero-Space. Most were not built to the Unicode Standard, and web browsers did not support them, so many could be read only with special software drivers.[7]
A reader needed the same font as the writer to read an e-mail, a document or a web page.[3] In 2006 Tharum Bun wrote that a Cambodian student in Japan turned his Khmer text into an image before he posted it on his weblog.[3] He also quoted a 2002 Cambodia Daily article: a government minister who wanted to write to his wife, who did not speak English, had been told that e-mail could not carry Khmer.[3]
Khmer in Unicode
Work on encoding Khmer in Unicode started in 1996 in a committee outside the government, and the standard was settled in 1999.[1] At a meeting of the International Organization for Standardization (ISO) working group in Beijing in 2000, the Cambodian delegation pointed out serious glyph errors in the Khmer chart of Unicode 3.0. The characters U+17BE to U+17C5 had been printed wrongly, and the same error was in the ISO standard.[8] Cambodia's Committee for Standardization of Khmer Characters in Computers objected to the code table in letters of May 2001 and asked for it to be replaced. It said that the table did not match how Cambodians understand their language, and that it had been adopted without the Cambodian national standards body.[4] At the working group's 41st meeting, in Singapore, the Cambodian government formally objected to the Khmer block and proposed a new encoding to replace it.[9] In a reply of December 2001, Paul Nelson of Microsoft argued that the existing characters had to stay as encoded, while granting that Cambodian officials may never have signed off on the standard. He proposed adding the lunar date symbols put forward by the Cambodian delegation in a new block near U+19E0 to U+19FF.[9]
Unicode kept the table. On May 7, 2002, the committee decided "with regret" to adopt it as published in Unicode 3.2, because Cambodia could not afford further delay or an incompatible national standard.[4]
In January 2010 the Council of Ministers spokesman Phay Siphan said that a memorandum of December 24 gave ministries 60 days to switch their computers to Unicode.[1] Sok Tha of the Ministry of Education said Khmer Unicode had been used in Cambodian schools since 2007.[1]
Khmer on Linux
When the KhmerOS project was first planned, Khmer worked in some programs under Windows through Microsoft's text engine, but no free software ran in Khmer on GNU/Linux.[2] The typographer Danh Hong put one of his Khmer OpenType fonts into the public domain, which helped draw open-source developers to the language.[2]
Lin Chear, a Canadian engineer of Khmer origin, wrote the programs that added Khmer to Pango, the text layout library of the GNOME desktop, in a few days.[2] With his help the maintainer of Qt added Khmer to KDE, and he got Mozilla working in Khmer on GNU/Linux with a Pango patch.[2] Maurice Bauhahn, who kept a reference site on Khmer in Unicode, recorded his Pango work in December 2003 and his Linux implementation in January 2004.[10][11]
Lin Chear also wrote a tool that converted text typed in the ABC fonts' encoding to Unicode.[10] His original converter is among the files of the KhmerOS project's ABC and Limon font to Unicode converters, dated 2005.[12]
KhmerOS
Javier Solá, a Spanish computer scientist living in Cambodia, planned an operating system, office programs, fonts, a keyboard and training, all in Khmer.[2] The project found a home at the Open Forum of Cambodia, a nonprofit in Phnom Penh. With its first $1,500 in donations it hired two computer scientists to build a glossary of Khmer computer terms.[2]
On November 21, 2003, Solá set out the plan on a GNOME translators' mailing list as "KhmerOS 1.0". He counted about 53,000 program messages and 1,300 pages of documentation to translate, and planned to put around 50 fonts in the public domain.[13] Writing in 2006, Solá dated the start of the work to early 2004. That year the team grew from three to eight full-time members, translated basic office and internet programs, and prepared fonts and a keyboard definition.[14] At the start of 2005 the National ICT Development Authority (NiDA) joined, which made KhmerOS a joint project of the government and a civil society group. The team wrote 65 hours of training materials in Khmer for OpenOffice.org, Firefox and Thunderbird.[14]
In 2005 The Cambodia Daily described it as a joint project of the government and the Open Forum.[5] Khmer versions of OpenOffice.org, Firefox and Thunderbird were in testing on over 1,000 computers around the country, and 1,000 Khmer keyboards were being made in China.[5] Solá said, "You cannot run a government on a foreign language."[5] The KhmerOS fonts, among them Khmer OS System, a font hinted for reading at small sizes, are the work of Danh Hong. Their copyright is held by Danh Hong and the Open Forum of Cambodia, and they are released under the GNU Lesser General Public License.[15] By 2010 the KhmerOS project was run by the Open Institute.[1]
Windows and Mac
Microsoft lists Khmer UI, a font from Cambodia, among the fonts supplied with Windows 7 and later versions.[16] In Windows 8.1 the interface font for Khmer changed from Khmer UI to Leelawadee UI.[17] The Cambodian Information Center notes that Mac OS X can read and write Khmer Unicode with no added font, and that Windows Vista includes Khmer Unicode but has to be set up to use it.[7]
Phones
A developer's account published by DAI says that by 2013 many young smartphone users in Cambodia could not type Khmer, because their phones did not readily support the script, and many wrote Khmer in Roman letters.[6] He released the Khmer Smart Keyboard for iOS in September 2014 and for Android in March 2015.[6] Within a year more than 300,000 people had downloaded it, and it won the 2015 Cambodia ICT Award from the Ministry of Post and Telecommunications.[6]
In 2015 Marc Durdin, who was learning Khmer, adapted a desktop keyboard by Andrew Cunningham, based on the NiDA Khmer layout, into a Khmer keyboard for Keyman on iPhone, iPad and Android. He noted that other Khmer keyboards already existed for both systems.[18]
References
- ↑ 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 Clancy McGilligan, "Gov't Orders That Computers Be Switched to Khmer Unicode", The Cambodia Daily (January 12, 2010)
- ↑ 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 Anousak Souphavanh and Theppitak Karoonboonyanan, "Localization Efforts in the Asia-Pacific", Free/Open Source Software: Localization, UNDP-APDIP and Elsevier (2005), Wikibooks edition
- ↑ 3.0 3.1 3.2 3.3 Tharum Bun, "Development of Information and Communication Technologies in Cambodia", Global Voices (January 8, 2006)
- ↑ 4.0 4.1 4.2 Cambodian Committee for Standardization of Khmer Characters in Computers, "Cambodian stance regarding Khmer code table in Unicode 3.2", ISO/IEC JTC 1/SC 2/WG 2 N2459 (May 14, 2002)
- ↑ 5.0 5.1 5.2 5.3 Matt Reed, "Project Promises Free Khmer Software by 2006", The Cambodia Daily (August 2, 2005)
- ↑ 6.0 6.1 6.2 6.3 DAI Developments, "300,000 Downloads and Counting: How I Created a Top Khmer Smartphone App" (undated)
- ↑ 7.0 7.1 Cambodian Information Center, "Fonts: Khmer Fonts, Cambodian Fonts, Khmer Unicode" (undated)
- ↑ Michel Suignard, "Corrections to Khmer character tables in 10646 and Unicode", Unicode Technical Committee document L2/00-109 (April 6, 2000)
- ↑ 9.0 9.1 Paul Nelson, "Response and Proposal for Khmer Encoding", Unicode Technical Committee document L2/02-083 (December 2, 2001)
- ↑ 10.0 10.1 Maurice Bauhahn, "FAQ and Resources on Khmer in Unicode", khmerfonts.info (undated; entries from December 2003 to February 2004)
- ↑ Maurice Bauhahn, "Khmer in Pango", khmerfonts.info (undated)
- ↑ KhmerOS project, "ABC and Limon font to Unicode Converters v1.8", SourceForge (files dated 2005)
- ↑ Javier Solá, "KhmerOS 1.0 - Khmer OpenSource Project", gnome-i18n mailing list (November 21, 2003)
- ↑ 14.0 14.1 Javier Solá, "Khmer software initiative: an APC member takes language solutions to 13 million", Association for Progressive Communications (January 30, 2006)
- ↑ Khmer Software Initiative, "Khmer Unicode Fonts", README on GitHub (undated)
- ↑ Microsoft, "Khmer UI font family", Microsoft Learn (March 30, 2022)
- ↑ Microsoft, "Script and font support in Windows", Microsoft Learn (undated)
- ↑ Marc Durdin, "Notes on a Khmer mobile keyboard for Keyman", Marc Durdin's Blog (November 14, 2015)