scuffed-code/icu4c/data/translit_Any_Publishing.txt
Alan Liu b720561095 ICU-1560 sync C rules with Java
X-SVN-Rev: 7224
2001-11-30 21:24:16 +00:00

56 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// -*- Coding: utf-8; -*-
//--------------------------------------------------------------------
// Copyright (c) 1999-2001, International Business Machines
// Corporation and others. All Rights Reserved.
//--------------------------------------------------------------------
// THIS IS A MACHINE-GENERATED FILE
// Tool: dumpicurules.bat
// Source: ../../text/resources/Transliterator_Any_Publishing.txt
// Date: Fri Nov 30 13:01:41 2001
//--------------------------------------------------------------------
// Any_Publishing
translit_Any_Publishing {
Rule {
//--------------------------------------------------------------------
// Copyright (c) 1999-2001, International Business Machines
// Corporation and others. All Rights Reserved.
//--------------------------------------------------------------------
// $Source: /xsrl/Nsvn/icu/icu/data/Attic/translit_Any_Publishing.txt,v $
// $Date: 2001/11/30 21:24:15 $
// $Revision: 1.3 $
//--------------------------------------------------------------------
// Test case
// "The" "(quick)" ('brown') `fox' ` jumped -- "over?"
// Variables
"$single = \\\' ;"
"$space = ' ' ;"
"$double = \\\" ;"
"$back = \\\` ;"
"$tab = '\u0008' ;"
"$makeRight = [[:Z:][:Ps:][:Pi:]$] ;"
// fix UNIX quotes
"$back $back > “ ;"
"$back > ;"
// fix typewriter quotes, by context
"$makeRight {$double} <> “ ;"
"$double <> ” ;"
"$makeRight {$single} <> ;"
"$single <> ;"
// fix multiple spaces and hyphens
"$space {$space} > ;"
"'--' <> — ;"
}
}