2000-05-15 19:09:37 +00:00
|
|
|
//--------------------------------------------------------------------
|
2000-05-20 04:40:29 +00:00
|
|
|
// Copyright (c) 1999-2000, International Business Machines
|
|
|
|
// Corporation and others. All Rights Reserved.
|
2000-05-15 19:09:37 +00:00
|
|
|
//--------------------------------------------------------------------
|
2000-05-20 04:40:29 +00:00
|
|
|
// 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
|
2000-05-15 19:09:37 +00:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
|
|
|
|
// StraightQuotes-CurlyQuotes
|
|
|
|
|
|
|
|
quotes {
|
2000-05-20 04:40:29 +00:00
|
|
|
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;"
|
|
|
|
}
|
2000-05-15 19:09:37 +00:00
|
|
|
}
|