Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(579)

Side by Side Diff: scripts/ibm866_gen.sh

Issue 587833004: Turn on UCONFIG_NO_NON_HTML5_CONVERTER to save 100kB (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/icu52/
Patch Set: more tests added to desc Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « patches/uconv.patch ('k') | source/common/ucnv2022.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # Copyright (c) 2014 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # Reference: 6 # Reference:
7 # http://encoding.spec.whatwg.org/#single-byte-decoder 7 # http://encoding.spec.whatwg.org/#single-byte-decoder
8 8
9 # Download the following file, run it in source/data/mappings directory 9 # Download the following file, run it in source/data/mappings directory
10 # and save the result to ibm-866_html5-2012.ucm 10 # and save the result to ibm-866_html5-2012.ucm
(...skipping 18 matching lines...) Expand all
29 29
30 CHARMAP 30 CHARMAP
31 PREAMBLE 31 PREAMBLE
32 32
33 33
34 34
35 35
36 awk 'BEGIN { for (i=0; i < 0x80; ++i) { printf("<U%04X> \\x%02X |0\n", i, i);}} 36 awk 'BEGIN { for (i=0; i < 0x80; ++i) { printf("<U%04X> \\x%02X |0\n", i, i);}}
37 !/^#/ && !/^$/ { printf ("<U%4s> \\x%02X |0\n", substr($2, 3), $1 + 0x80);}' \ 37 !/^#/ && !/^$/ { printf ("<U%4s> \\x%02X |0\n", substr($2, 3), $1 + 0x80);}' \
38 index-ibm866.txt | sort 38 index-ibm866.txt | sort
39 echo 'END CHARMAP'
40
OLDNEW
« no previous file with comments | « patches/uconv.patch ('k') | source/common/ucnv2022.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698