scuffed-code/icu4c/data/quotes.txt

83 lines
2.0 KiB
Plaintext
Raw Normal View History

//--------------------------------------------------------------------
// Copyright (c) 1999-2000, International Business Machines
// Corporation and others. All Rights Reserved.
//--------------------------------------------------------------------
// THIS IS A MACHINE-GENERATED FILE
// Tool: src\com\ibm\tools\translit\dumpICUrules.bat
// Source: src\com\ibm\text\resources/TransliterationRule_StraightQuotes_CurlyQuotes.java
// Date: Fri May 19 15:50:23 2000
//--------------------------------------------------------------------
// StraightQuotes-CurlyQuotes
quotes {
Rule {
// Rewritten using character codes [LIU]
"$white=[[:Zs:][:Zl:][:Zp:]];"
"$black=[^$white];"
"$open=[:Ps:];"
"$dquote='\"';"
"$lAng=\u3008;"
"$ldAng=\u300A;"
"$lBrk='[';"
"$lBrc='{';"
"$lquote=\u2018;"
"$rquote=\u2019;"
"$ldquote=\u201C;"
"$rdquote=\u201D;"
"$ldguill=\u00AB;"
"$rdguill=\u00BB;"
"$lguill=\u2039;"
"$rguill=\u203A;"
"$mdash=\u2014;"
//#######################################
// Conversions from input
//#######################################
// join single quotes
"$lquote''>$ldquote;"
"$lquote$lquote>$ldquote;"
"$rquote''>$rdquote;"
"$rquote$rquote>$rdquote;"
//smart single quotes
"$white{''>$lquote;"
"$open{''>$lquote;"
"$black{''>$rquote;"
"''>$lquote;"
//smart doubles
"$white{$dquote>$ldquote;"
"$open{$dquote>$ldquote;"
"$black{$dquote>$rdquote;"
"$dquote>$ldquote;"
// join single guillemets
"$rguill$rguill>$rdguill;"
"'>>'>$rdguill;"
"$lguill$lguill>$ldguill;"
"'<<'>$ldguill;"
// prevent double spaces
"\\ {\\ >;"
// join hyphens into dash ### BIDIRECTIONAL ###
"'--'<>$mdash;"
//#######################################
// Conversions back to input
//#######################################
//smart quotes
"''<$lquote;"
"''<$rquote;"
"$dquote<$ldquote;"
"$dquote<$rdquote;"
}
}