|
1 | | -/* Copyright (C) 2003-2012 JabRef contributors. |
| 1 | +/* Copyright (C) 2003-2015 JabRef contributors. |
2 | 2 | This program is free software; you can redistribute it and/or modify |
3 | 3 | it under the terms of the GNU General Public License as published by |
4 | 4 | the Free Software Foundation; either version 2 of the License, or |
@@ -1184,103 +1184,75 @@ public static int getShortcutMask() { |
1184 | 1184 | // Use UNICODE characters for RTF-Chars which can not be found in the |
1185 | 1185 | // standard codepage |
1186 | 1186 |
|
1187 | | - // RTFCHARS.put("`A", "\\u192"); // "Agrave" exists in standard |
1188 | | - // codepage |
| 1187 | + RTFCHARS.put("`A", "\\u192A"); // "Agrave" |
1189 | 1188 | RTFCHARS.put("'A", "\\u193A"); // "Aacute" |
1190 | | - // RTFCHARS.put("^A", "\\u194"); // "Acirc" exists in standard |
1191 | | - // codepage |
| 1189 | + RTFCHARS.put("^A", "\\u194A"); // "Acirc" |
1192 | 1190 | RTFCHARS.put("~A", "\\u195A"); // "Atilde" |
1193 | | - // RTFCHARS.put("\"A", "\\u196"); // "Auml" exists in standard |
1194 | | - // codepage |
| 1191 | + RTFCHARS.put("\"A", "\\u196A"); // "Auml" |
1195 | 1192 | RTFCHARS.put("AA", "\\u197A"); // "Aring" |
1196 | | - RTFCHARS.put("AE", "{\\uc2\\u198AE}"); // "AElig" |
| 1193 | + // RTFCHARS.put("AE", "{\\uc2\\u198AE}"); // "AElig" |
| 1194 | + RTFCHARS.put("AE", "{\\u198A}"); // "AElig" |
1197 | 1195 | RTFCHARS.put("cC", "\\u199C"); // "Ccedil" |
1198 | | - // RTFCHARS.put("`E", "\\u200"); // "Egrave" exists in standard |
1199 | | - // codepage |
| 1196 | + RTFCHARS.put("`E", "\\u200E"); // "Egrave" |
1200 | 1197 | RTFCHARS.put("'E", "\\u201E"); // "Eacute" |
1201 | | - // RTFCHARS.put("^E", "\\u202"); // "Ecirc" exists in standard |
1202 | | - // codepage |
1203 | | - // RTFCHARS.put("\"E", "\\u203"); // "Euml" exists in standard |
1204 | | - // codepage |
1205 | | - // RTFCHARS.put("`I", "\\u204"); // "Igrave" exists in standard |
1206 | | - // codepage |
| 1198 | + RTFCHARS.put("^E", "\\u202E"); // "Ecirc" |
| 1199 | + RTFCHARS.put("\"E", "\\u203E"); // "Euml" |
| 1200 | + RTFCHARS.put("`I", "\\u204I"); // "Igrave |
1207 | 1201 | RTFCHARS.put("'I", "\\u205I"); // "Iacute" |
1208 | | - // RTFCHARS.put("^I", "\\u206"); // "Icirc" exists in standard |
1209 | | - // codepage |
1210 | | - // RTFCHARS.put("\"I", "\\u207"); // "Iuml" exists in standard |
1211 | | - // codepage |
| 1202 | + RTFCHARS.put("^I", "\\u206I"); // "Icirc" |
| 1203 | + RTFCHARS.put("\"I", "\\u207I"); // "Iuml" |
1212 | 1204 | RTFCHARS.put("DH", "\\u208D"); // "ETH" |
1213 | 1205 | RTFCHARS.put("~N", "\\u209N"); // "Ntilde" |
1214 | | - // RTFCHARS.put("`O", "\\u210"); // "Ograve" exists in standard |
1215 | | - // codepage |
| 1206 | + RTFCHARS.put("`O", "\\u210O"); // "Ograve" |
1216 | 1207 | RTFCHARS.put("'O", "\\u211O"); // "Oacute" |
1217 | | - // RTFCHARS.put("^O", "\\u212"); // "Ocirc" exists in standard |
1218 | | - // codepage |
| 1208 | + RTFCHARS.put("^O", "\\u212O"); // "Ocirc" |
1219 | 1209 | RTFCHARS.put("~O", "\\u213O"); // "Otilde" |
1220 | | - // RTFCHARS.put("\"O", "\\u214"); // "Ouml" exists in standard |
1221 | | - // codepage |
| 1210 | + RTFCHARS.put("\"O", "\\u214O"); // "Ouml" |
1222 | 1211 | // According to ISO 8859-1 the "\times" symbol should be placed here |
1223 | 1212 | // (#215). |
1224 | 1213 | // Omitting this, because it is a mathematical symbol. |
1225 | | - //RTFCHARS.put("O", "\\u216O"); // "Oslash" |
1226 | | - RTFCHARS.put("O", "\\'d8"); |
| 1214 | + RTFCHARS.put("O", "\\u216O"); // "Oslash" |
| 1215 | + // RTFCHARS.put("O", "\\'d8"); |
1227 | 1216 | RTFCHARS.put("o", "\\'f8"); |
1228 | | - // RTFCHARS.put("`U", "\\u217"); // "Ugrave" exists in standard |
1229 | | - // codepage |
| 1217 | + RTFCHARS.put("`U", "\\u217U"); // "Ugrave" |
1230 | 1218 | RTFCHARS.put("'U", "\\u218U"); // "Uacute" |
1231 | | - // RTFCHARS.put("^U", "\\u219"); // "Ucirc" exists in standard |
1232 | | - // codepage |
1233 | | - // RTFCHARS.put("\"U", "\\u220"); // "Uuml" exists in standard |
1234 | | - // codepage |
| 1219 | + RTFCHARS.put("^U", "\\u219U"); // "Ucirc" |
| 1220 | + RTFCHARS.put("\"U", "\\u220U"); // "Uuml" |
1235 | 1221 | RTFCHARS.put("'Y", "\\u221Y"); // "Yacute" |
1236 | 1222 | RTFCHARS.put("TH", "{\\uc2\\u222TH}"); // "THORN" |
1237 | 1223 | RTFCHARS.put("ss", "{\\uc2\\u223ss}"); // "szlig" |
1238 | 1224 | //RTFCHARS.put("ss", "AFFEN"); // "szlig" |
1239 | | - // RTFCHARS.put("`a", "\\u224"); // "agrave" exists in standard |
1240 | | - // codepage |
| 1225 | + RTFCHARS.put("`a", "\\u224a"); // "agrave" |
1241 | 1226 | RTFCHARS.put("'a", "\\u225a"); // "aacute" |
1242 | | - // RTFCHARS.put("^a", "\\u226"); // "acirc" exists in standard |
1243 | | - // codepage |
| 1227 | + RTFCHARS.put("^a", "\\u226a"); // "acirc" |
1244 | 1228 | RTFCHARS.put("~a", "\\u227a"); // "atilde" |
1245 | | - // RTFCHARS.put("\"a", "\\u228"); // "auml" exists in standard |
1246 | | - // codepage |
| 1229 | + RTFCHARS.put("\"a", "\\u228a"); // "auml" |
1247 | 1230 | RTFCHARS.put("aa", "\\u229a"); // "aring" |
1248 | | - RTFCHARS.put("ae", "{\\uc2\\u230ae}"); // "aelig" |
| 1231 | + // RTFCHARS.put("ae", "{\\uc2\\u230ae}"); // "aelig" \\u230e6 |
| 1232 | + RTFCHARS.put("ae", "{\\u230a}"); // "aelig" \\u230e6 |
1249 | 1233 | RTFCHARS.put("cc", "\\u231c"); // "ccedil" |
1250 | | - // RTFCHARS.put("`e", "\\u232"); // "egrave" exists in standard |
1251 | | - // codepage |
| 1234 | + RTFCHARS.put("`e", "\\u232e"); // "egrave" |
1252 | 1235 | RTFCHARS.put("'e", "\\u233e"); // "eacute" |
1253 | | - // RTFCHARS.put("^e", "\\u234"); // "ecirc" exists in standard |
1254 | | - // codepage |
1255 | | - // RTFCHARS.put("\"e", "\\u235"); // "euml" exists in standard |
1256 | | - // codepage |
1257 | | - // RTFCHARS.put("`i", "\\u236"); // "igrave" exists in standard |
1258 | | - // codepage |
| 1236 | + RTFCHARS.put("^e", "\\u234e"); // "ecirc" |
| 1237 | + RTFCHARS.put("\"e", "\\u235e"); // "euml" |
| 1238 | + RTFCHARS.put("`i", "\\u236i"); // "igrave" |
1259 | 1239 | RTFCHARS.put("'i", "\\u237i"); // "iacute" |
1260 | | - // RTFCHARS.put("^i", "\\u238"); // "icirc" exists in standard |
1261 | | - // codepage |
1262 | | - // RTFCHARS.put("\"i", "\\u239"); // "iuml" exists in standard |
1263 | | - // codepage |
| 1240 | + RTFCHARS.put("^i", "\\u238i"); // "icirc" |
| 1241 | + RTFCHARS.put("\"i", "\\u239i"); // "iuml" |
1264 | 1242 | RTFCHARS.put("dh", "\\u240d"); // "eth" |
1265 | | - // RTFCHARS.put("~n", "\\u241"); // "ntilde" exists in standard |
1266 | | - // codepage |
1267 | | - // RTFCHARS.put("`o", "\\u242"); // "ograve" exists in standard |
1268 | | - // codepage |
| 1243 | + RTFCHARS.put("~n", "\\u241n"); // "ntilde" |
| 1244 | + RTFCHARS.put("`o", "\\u242o"); // "ograve" |
1269 | 1245 | RTFCHARS.put("'o", "\\u243o"); // "oacute" |
1270 | | - // RTFCHARS.put("^o", "\\u244"); // "ocirc" exists in standard |
1271 | | - // codepage |
| 1246 | + RTFCHARS.put("^o", "\\u244o"); // "ocirc" |
1272 | 1247 | RTFCHARS.put("~o", "\\u245o"); // "otilde" |
1273 | | - // RTFCHARS.put("\"o", "\\u246"); // "ouml" exists in standard |
1274 | | - // codepage |
| 1248 | + RTFCHARS.put("\"o", "\\u246o"); // "ouml" |
1275 | 1249 | // According to ISO 8859-1 the "\div" symbol should be placed here |
1276 | 1250 | // (#247). |
1277 | 1251 | // Omitting this, because it is a mathematical symbol. |
1278 | | - //RTFCHARS.put("o", "\\u248o"); // "oslash" |
1279 | | - // RTFCHARS.put("`u", "\\u249"); // "ugrave" exists in standard |
1280 | | - // codepage |
| 1252 | + RTFCHARS.put("o", "\\u248o"); // "oslash" |
| 1253 | + RTFCHARS.put("`u", "\\u249u"); // "ugrave" |
1281 | 1254 | RTFCHARS.put("'u", "\\u250u"); // "uacute" |
1282 | | - // RTFCHARS.put("^u", "\\u251"); // "ucirc" exists in standard |
1283 | | - // codepage |
| 1255 | + RTFCHARS.put("^u", "\\u251u"); // "ucirc" |
1284 | 1256 | // RTFCHARS.put("\"u", "\\u252"); // "uuml" exists in standard |
1285 | 1257 | // codepage |
1286 | 1258 | RTFCHARS.put("'y", "\\u253y"); // "yacute" |
|
0 commit comments