Any_Publishing.txt   [plain text]


# ***************************************************************************
# *
# *  Copyright (C) 2004-2016, International Business Machines
# *  Corporation; Unicode, Inc.; and others.  All Rights Reserved.
# *
# ***************************************************************************
# File: Any_Publishing.txt
# Generated from CLDR 
#

# 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} → ;
'--' ↔ — ;