Clarify Guidance for Use of a BOM As a UTF-8 Encoding Signature This Paper Follows Prior Discussion on the Unicode.Org Mailing List
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
RFC 3629 UTF-8 November 2003
Network Working Group F. Yergeau Request for Comments: 3629 Alis Technologies STD: 63 November 2003 Obsoletes: 2279 Category: Standards Track UTF-8, a transformation format of ISO 10646 Status of this Memo This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for improvements. Please refer to the current edition of the "Internet Official Protocol Standards" (STD 1) for the standardization state and status of this protocol. Distribution of this memo is unlimited. Copyright Notice Copyright (C) The Internet Society (2003). All Rights Reserved. Abstract ISO/IEC 10646-1 defines a large character set called the Universal Character Set (UCS) which encompasses most of the world's writing systems. The originally proposed encodings of the UCS, however, were not compatible with many current applications and protocols, and this has led to the development of UTF-8, the object of this memo. UTF-8 has the characteristic of preserving the full US-ASCII range, providing compatibility with file systems, parsers and other software that rely on US-ASCII values but are transparent to other values. This memo obsoletes and replaces RFC 2279. Table of Contents 1. Introduction . 2 2. Notational conventions . 3 3. UTF-8 definition . 4 4. Syntax of UTF-8 Byte Sequences . 5 5. Versions of the standards . 6 6. Byte order mark (BOM) . 6 7. Examples . 8 8. MIME registration . 9 9. IANA Considerations . 10 10. Security Considerations . 10 11. Acknowledgements . 11 12. Changes from RFC 2279 . 11 13. Normative References . 12 Yergeau Standards Track [Page 1] RFC 3629 UTF-8 November 2003 14. -
Unicode Ate My Brain
UNICODE ATE MY BRAIN John Cowan Reuters Health Information Copyright 2001-04 John Cowan under GNU GPL 1 Copyright • Copyright © 2001 John Cowan • Licensed under the GNU General Public License • ABSOLUTELY NO WARRANTIES; USE AT YOUR OWN RISK • Portions written by Tim Bray; used by permission • Title devised by Smarasderagd; used by permission • Black and white for readability Copyright 2001-04 John Cowan under GNU GPL 2 Abstract Unicode, the universal character set, is one of the foundation technologies of XML. However, it is not as widely understood as it should be, because of the unavoidable complexity of handling all of the world's writing systems, even in a fairly uniform way. This tutorial will provide the basics about using Unicode and XML to save lots of money and achieve world domination at the same time. Copyright 2001-04 John Cowan under GNU GPL 3 Roadmap • Brief introduction (4 slides) • Before Unicode (16 slides) • The Unicode Standard (25 slides) • Encodings (11 slides) • XML (10 slides) • The Programmer's View (27 slides) • Points to Remember (1 slide) Copyright 2001-04 John Cowan under GNU GPL 4 How Many Different Characters? a A à á â ã ä å ā ă ą a a a a a a a a a a a Copyright 2001-04 John Cowan under GNU GPL 5 How Computers Do Text • Characters in computer storage are represented by “small” numbers • The numbers use a small number of bits: from 6 (BCD) to 21 (Unicode) to 32 (wchar_t on some Unix boxes) • Design choices: – Which numbers encode which characters – How to pack the numbers into bytes Copyright 2001-04 John Cowan under GNU GPL 6 Where Does XML Come In? • XML is a textual data format • XML software is required to handle all commercially important characters in the world; a promise to “handle XML” implies a promise to be international • Applications can do what they want; monolingual applications can mostly ignore internationalization Copyright 2001-04 John Cowan under GNU GPL 7 $$$ £££ ¥¥¥ • Extra cost of building-in internationalization to a new computer application: about 20% (assuming XML and Unicode). -
Unicode and Code Page Support
Natural for Mainframes Unicode and Code Page Support Version 4.2.6 for Mainframes October 2009 This document applies to Natural Version 4.2.6 for Mainframes and to all subsequent releases. Specifications contained herein are subject to change and these changes will be reported in subsequent release notes or new editions. Copyright © Software AG 1979-2009. All rights reserved. The name Software AG, webMethods and all Software AG product names are either trademarks or registered trademarks of Software AG and/or Software AG USA, Inc. Other company and product names mentioned herein may be trademarks of their respective owners. Table of Contents 1 Unicode and Code Page Support .................................................................................... 1 2 Introduction ..................................................................................................................... 3 About Code Pages and Unicode ................................................................................ 4 About Unicode and Code Page Support in Natural .................................................. 5 ICU on Mainframe Platforms ..................................................................................... 6 3 Unicode and Code Page Support in the Natural Programming Language .................... 7 Natural Data Format U for Unicode-Based Data ....................................................... 8 Statements .................................................................................................................. 9 Logical -
Assessment of Options for Handling Full Unicode Character Encodings in MARC21 a Study for the Library of Congress
1 Assessment of Options for Handling Full Unicode Character Encodings in MARC21 A Study for the Library of Congress Part 1: New Scripts Jack Cain Senior Consultant Trylus Computing, Toronto 1 Purpose This assessment intends to study the issues and make recommendations on the possible expansion of the character set repertoire for bibliographic records in MARC21 format. 1.1 “Encoding Scheme” vs. “Repertoire” An encoding scheme contains codes by which characters are represented in computer memory. These codes are organized according to a certain methodology called an encoding scheme. The list of all characters so encoded is referred to as the “repertoire” of characters in the given encoding schemes. For example, ASCII is one encoding scheme, perhaps the one best known to the average non-technical person in North America. “A”, “B”, & “C” are three characters in the repertoire of this encoding scheme. These three characters are assigned encodings 41, 42 & 43 in ASCII (expressed here in hexadecimal). 1.2 MARC8 "MARC8" is the term commonly used to refer both to the encoding scheme and its repertoire as used in MARC records up to 1998. The ‘8’ refers to the fact that, unlike Unicode which is a multi-byte per character code set, the MARC8 encoding scheme is principally made up of multiple one byte tables in which each character is encoded using a single 8 bit byte. (It also includes the EACC set which actually uses fixed length 3 bytes per character.) (For details on MARC8 and its specifications see: http://www.loc.gov/marc/.) MARC8 was introduced around 1968 and was initially limited to essentially Latin script only. -
Quarkxpress 9.1 Keyboard Command Guide: Mac OS
QuarkXPress 9.1 Keyboard Command Guide: Mac OS Menu commands (Mac OS®) ...................................................................................................... 2 Dialog box commands (Mac OS) ................................................................................................ 7 Palette commands (Mac OS) ...................................................................................................... 8 Project and layout commands (Mac OS) ................................................................................... 10 Item commands (Mac OS) ........................................................................................................ 12 Text commands (Mac OS) ........................................................................................................ 14 Picture commands (Mac OS) .................................................................................................... 20 1 Menu commands (Mac OS®) QuarkXPress menu QuarkXPress® Environment dialog box Option+About QuarkXPress or Control+Option+E Preferences +Option+Shift+Y Quit +Q File menu New Project +N New Library +Option+N Open +O Close +W Save +S Save As +Shift+S Revert to last Auto Save Option+Revert to Saved Import +E Save Text +Option+E Append +Option+A Export Layout as PDF +Option+P Export Page as EPS +Option+Shift+S Print +P Output Job +Option+Shift+O Edit menu Undo +Z Redo +Y, +Z, or +Shift+Z (configurable) Cut +X Copy +C Paste +V Paste without Formatting +Option+V Paste In Place +Option+Shift+V Select All +A -
Double Hyphen" Source: Karl Pentzlin Status: Individual Contribution Action: for Consideration by JTC1/SC2/WG2 and UTC Date: 2010-09-28
JTC1/SC2/WG2 N3917 Universal Multiple-Octet Coded Character Set International Organization for Standardization Organisation Internationale de Normalisation Международная организация по стандартизации Doc Type: Working Group Document Title: Revised Proposal to encode a punctuation mark "Double Hyphen" Source: Karl Pentzlin Status: Individual Contribution Action: For consideration by JTC1/SC2/WG2 and UTC Date: 2010-09-28 Dashes and Hyphens A U+2E4E DOUBLE HYPHEN → 2010 hyphen → 2E17 double oblique hyphen → 003D equals sign → A78A modifier letter short equals sign · used in transcription of old German prints and handwritings · used in some non-standard punctuation · not intended for standard hyphens where the duplication is only a font variant Properties: 2E4E;DOUBLE HYPHEN;Pd;0;ON;;;;;N;;;;; Entry in LineBreak.TXT: 2E4E;BA # DOUBLE HYPHEN 1. Introduction The "ordinary" hyphen, which is representable by U+002D HYPHEN-MINUS or U+2010 HYPHEN, usually is displayed by a single short horizontal dash, but has a considerable glyph variation: it can be slanted to oblique or doubled (stacked) according to the used font. For instance, in Fraktur (Blackletter) fonts, it commonly is represented by two stacked short oblique dashes. However, in certain applications, double hyphens (consisting of two stacked short dashes) are used as characters with semantics deviating from the "ordinary" hyphen, e.g. to represent a definite unit in transliteration. For such a special application, in this case for transliteration of Coptic, U+2E17 DOUBLE OBLIQUE HYPHEN was encoded ([1], example on p. 9). However, there are other applications where the double hyphen us usually not oblique. For such applications, here a "DOUBLE HYPHEN" is proposed, which consists of two stacked short dashes which usually are horizontal. -
Kindergarten Specials Activities
Kindergarten Specials Activities Art Music P.E. S.T.E.M Activity 1: Find primary Activity 1: Teach someone a Activity 1: Same Spot, Sock Shot Science: Take a nature walk and collect song you have learned in Using clean pair of balled up socks some natural materials. When you get colors (red, yellow, blue) in practice tossing under hand and then home sort the materials you your house. music class. If the song had a overhand while stepping with the found. Below are some examples of how game, teach the game as well. opposite foot to a target. Please ask you might sort. If you have time after adult permission to use certain sorting try building something cool with the natural materials. targets at your home. Examples: K-1st: sort by shape, color, or size laundry hamper, spot on wall/tile on 2nd-3rd: sort by texture, shape AND floor, or family members make a size, or living vs non-living hoop with their arms. 4th-6th: Have students create their own way of sorting and then challenge someone elseto identify their method. Activity 2: I SPY: Find Activity 2: Create your own Activity 2: Cardio Day Technology: Have someone in your instrument. You can draw it 5 Minute Morning Dance house pretend to be a robot. You secondary colors outside should program the robot how to (green, orange, purple) out and explain what it would Party move around the house. Remember be made out of, how it would Evening Running Competition; robots cannot make any decisions for work, and how it would How many laps can each themselves, they only can do what sound. -
TJ Specials Bingo Card 3-5 Week 3.Xlsx
A B C D E 1 Specials Bingo: 3rd-5th Grade 2 April 20-26 3 Art PE Music Art PE With a family member Turn your self or Draw a large flower. each person has a someone in your Fill each petal with a paper, see who can list house into the Mona Watch a show that you different line/shape the most exercise Lisa. Use whatever like. Every time pattern. Trace each Watch a musical as a movements in 30 items you have to someone on the show one with different family. seconds! Then after make them look like laughs do five jumping colored markers, time is up, do two of her. Take picture if jacks. crayons, pencils or each exercise on the you can and email it to pens. 4 lists. me. :) 5 Date:________ Date:________ Date:________ Date:________ Date:________ 6 Music PE Art Music Art 2 DIMENSIONAL and Draw a picture of your choice. Do 5 squats in each room of your Color it using only blues. Use as Listen to a style of 3 DIMENSIONAL - house. Then do 5 mountain many blue markers, crayons, pens, climbers in each room. Lastly 5 music that you Find the folowing in Complete your weekly pencils that you can find. Using jumping jacks in each room. Extra one color family is called normally do not and your house: listening journal. challenge. Time yourself while you MONOCHROMATIC. This is how do this... try a second time and see write down 5 things 2D/3D=square/cube we did our feathers at the if you can beat your first score. -
Fun with Unicode - an Overview About Unicode Dangers
Fun with Unicode - an overview about Unicode dangers by Thomas Skora Overview ● Short Introduction to Unicode/UTF-8 ● Fooling charset detection ● Ambigiuous Encoding ● Ambigiuous Characters ● Normalization overflows your buffer ● Casing breaks your XSS filter ● Unicode in domain names – how to short payloads ● Text Direction Unicode/UTF-8 ● Unicode = Character set ● Encodings: – UTF-8: Common standard in web, … – UTF-16: Often used as internal representation – UTF-7: if the 8th bit is not safe – UTF-32: yes, it exists... UTF-8 ● Often used in Internet communication, e.g. the web. ● Efficient: minimum length 1 byte ● Variable length, up to 7 bytes (theoretical). ● Downwards-compatible: First 127 chars use ASCII encoding ● 1 Byte: 0xxxxxxx ● 2 Bytes: 110xxxxx 10xxxxxx ● 3 Bytes: 1110xxxx 10xxxxxx 10xxxxxx ● ...got it? ;-) UTF-16 ● Often used for internal representation: Java, .NET, Windows, … ● Inefficient: minimum length per char is 2 bytes. ● Byte Order? Byte Order Mark! → U+FEFF – BOM at HTML beginning overrides character set definition in IE. ● Y\x00o\x00u\x00 \x00k\x00n\x00o\x00w\x00 \x00t\x00h\x00i\x00s\x00?\x00 UTF-7 ● Unicode chars in not 8 bit-safe environments. Used in SMTP, NNTP, … ● Personal opinion: browser support was an inside job of the security industry. ● Why? Because: <script>alert(1)</script> == +Adw-script+AD4-alert(1)+ADw-/script+AD4- ● Fortunately (for the defender) support is dropped by browser vendors. Byte Order Mark ● U+FEFF ● Appears as:  ● W3C says: BOM has priority over declaration – IE 10+11 just dropped this insecure behavior, we should expect that it comes back. – http://www.w3.org/International/tests/html-css/character- encoding/results-basics#precedence – http://www.w3.org/International/questions/qa-byte-order -mark.en#bomhow ● If you control the first character of a HTML document, then you also control its character set. -
CEN WORKSHOP Agreementfinal Draft for CWA/MES:1998
CEN WORKSHOP AGREEMENTFinal draft for CWA/MES:1998 1998-11-18 English version Information technology – Multilingual European Subsets in ISO/IEC 10646-1 Technologies de l’information – Informationstechnologie – Jeux partiels européens multilingues Mehrsprachige europäische Untermengen dans l’ISO/CEI 10646-1 in ISO/IEC 10646-1 This CEN Workshop Agreement has been drafted and approved by a Workshop of representatives of interested parties, whose names and affiliations can be obtained from the CEN/ISSS Secretariat. The formal process followed by the Workshop in the development of this Workshop Agreement has been endorsed by the National Members of CEN, but neither the National Members of CEN nor the CEN Central Secretariat can be held accountable for the technical content of this CEN Workshop Agreement or for possible conflicts with standards or legislation. This CEN Workshop Agreement can in no way be held as being an official standard developed by CEN and its Members. This CEN Workshop Agreement is publicly available, as a reference document, from the CEN Members National Standard Bodies. CEN Members are the National Standards Bodies of Austria, Belgium, the Czech Republic, Denmark, Finland, France, Germany, Greece, Iceland, Ireland, Italy, Luxembourg, the Netherlands, Norway, Portugal, Spain, Sweden, Switzerland and the United Kingdom. CEN EUROPEAN COMMITTEE FOR STANDARDIZATION COMITÉ EUROPÉEN DE NORMALISATION EUROPÄISCHES KOMITEE FÜR NORMUNG Central Secretariat: rue de Stassart 36, B-1050 Brussels © CEN 1998 All rights of exploitation in any form and by any means reserved worldwide for CEN national Members Ref.No. CWA/MES:1998 E Information technology – Page 2 Multilingual European Subsets in ISO/IEC 10646-1 Final Draft for CWA/MES:1998 Contents Foreword 3 Introduction 4 1. -
CEN WORKSHOP AGREEMENT CWA 13873:2000 Multilingual
CEN WORKSHOP AGREEMENT CWA 13873:2000 2000-03-01 English version Information technology – Multilingual European Subsets in ISO/IEC 10646-1 Technologies de l’information – Informationstechnologie – Jeux partiels européens multilingues Mehrsprachige europäische Untermengen dans l’ISO/CEI 10646-1 in ISO/IEC 10646-1 This CEN Workshop Agreement has been drafted and approved by a Workshop of representatives of interested parties, whose names and affiliations can be obtained from the CEN/ISSS Secretariat. The formal process followed by the Workshop in the development of this Workshop Agreement has been endorsed by the National Members of CEN, but neither the National Members of CEN nor the CEN Central Secretariat can be held accountable for the technical content of this CEN Workshop Agreement or for possible conflicts with standards or legislation. This CEN Workshop Agreement can in no way be held as being an official standard developed by CEN and its Members. This CEN Workshop Agreement is publicly available, as a reference document, from the CEN Members National Standard Bodies. CEN Members are the National Standards Bodies of Austria, Belgium, the Czech Republic, Denmark, Finland, France, Germany, Greece, Iceland, Ireland, Italy, Luxembourg, the Netherlands, Norway, Portugal, Spain, Sweden, Switzerland and the United Kingdom. CEN EUROPEAN COMMITTEE FOR STANDARDIZATION COMITÉ EUROPÉEN DE NORMALISATION EUROPÄISCHES KOMITEE FÜR NORMUNG Central Secretariat: rue de Stassart 36, B-1050 Brussels © CEN 2000 All rights of exploitation in any form and by any means reserved worldwide for CEN national Members Ref.No. CWA 13873:2000 E Page 2 CWA 13873:2000 Contents Foreword 3 Introduction 4 1. Scope 5 2. -
UTF-8 from Wikipedia, the Free Encyclopedia
UTF-8 From Wikipedia, the free encyclopedia UTF-8 is a character encoding capable of encoding all possible characters, or code points, defined by Unicode and originally designed by Ken Thompson and Rob Pike.[1] The encoding is variable-length and uses 8-bit code units. It was designed for backward compatibility with ASCII and to avoid the complications of endianness and byte order marks in the alternative UTF-16 and UTF-32 encodings. The name is derived from Unicode (or Universal Coded Character Set) Transformation Format – 8- bit.[2] UTF-8 is the dominant character encoding for the World Wide Web, accounting for 89.1% of all Web pages in May 2017 (the most popular East Asian encodings, Shift JIS and GB 2312, have 0.9% and 0.7% respectively).[4][5][3] The Internet Mail Consortium (IMC) recommended that all e-mail programs be able to display and create mail using UTF-8,[6] and the W3C recommends UTF-8 as the default encoding in XML and HTML.[7] UTF-8 encodes each of the 1,112,064[8] valid code points in Unicode using one to four 8-bit bytes.[9] Code points with lower numerical values, which tend to occur more frequently, are encoded using fewer bytes. The first 128 characters of Unicode, which correspond one-to-one with ASCII, are encoded using a single octet with the same binary value as ASCII, so that valid ASCII text is valid UTF-8-encoded Unicode as well. Since ASCII bytes do not occur when encoding non-ASCII code points into UTF-8, UTF-8 is safe to use within most programming and document languages that interpret certain ASCII characters in a special way, such as '/' in filenames, '\' in escape sequences, and '%' in printf.