summaryrefslogtreecommitdiffstats
path: root/intl/uconv/tools/adobe.pl
diff options
context:
space:
mode:
Diffstat (limited to 'intl/uconv/tools/adobe.pl')
-rw-r--r--intl/uconv/tools/adobe.pl17
1 files changed, 17 insertions, 0 deletions
diff --git a/intl/uconv/tools/adobe.pl b/intl/uconv/tools/adobe.pl
new file mode 100644
index 000000000..152598c04
--- /dev/null
+++ b/intl/uconv/tools/adobe.pl
@@ -0,0 +1,17 @@
+#!/usr/local/bin/perl -w
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+while(<STDIN>)
+{
+ if(/^#/)
+ {
+ print $_;
+ }
+ else
+ {
+ ($a, $b, $c,$d) = /^(....)(.)(..)(.*)$/;
+ print "0x" . $c . $b . "0x" . $a . $d . "\n";
+ }
+}