ipolish (20120520-1) 13-UTF8-characters.patch

Summary

 polish.aff |   67 +++++++++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 52 insertions(+), 15 deletions(-)

    
download this patch

Patch contents

From: Robert Luberda <robert@debian.org>
Date: Tue, 22 Mar 2011 15:26:53 +0100
Subject: 13 UTF8 characters

Add declatations of UTF-8 characters into polish.aff. This should make it
possible to check Polish UTF-8 documents with a `ispell -T utf8' command.
---
 polish.aff |   67 ++++++++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 52 insertions(+), 15 deletions(-)

diff --git a/polish.aff b/polish.aff
index 23f4eef..3900904 100644
--- a/polish.aff
+++ b/polish.aff
@@ -122,27 +122,64 @@ allaffixes on
 nroffchars	().\\*
 texchars	()\[]{}<\>\\$*.%
 
-defstringtype  "nroff" "nroff" ".mm" ".ms" ".me" ".man" ".NeXT"
+defstringtype  "nroff" "nroff" ".mm" ".ms" ".me" ".man" ".NeXT" ".txt"
 
 boundarychars "-"
 boundarychars "'" 
 boundarychars "."
 wordchars [a-z] [A-Z]
-wordchars ñ Ñ
-wordchars æ Æ
-wordchars ¼ ¬
-wordchars ¿ ¯
-wordchars ³ £
-wordchars ¶ ¦
-wordchars ± ¡
-wordchars ó Ó
-wordchars ê Ê
+stringchar ñ Ñ
+stringchar æ Æ
+stringchar ¼ ¬
+stringchar ¿ ¯
+stringchar ³ £
+stringchar ¶ ¦
+stringchar ± ¡
+stringchar ó Ó
+stringchar ê Ê
 # u¿ywane w s³owach zapo¿yczonych
-wordchars ë Ë # citroën
-wordchars é É # écru lub exposé
-wordchars ö Ö # malström
-wordchars ¹ © # ©koda
-wordchars ü Ü # müsli
+stringchar ë Ë # citroën
+stringchar é É # écru lub exposé
+stringchar ö Ö # malström
+stringchar ¹ © # ©koda
+stringchar ü Ü # müsli
+
+
+#
+# UTF-8
+#
+altstringtype "utf8" "TeX" ".txt"
+
+
+altstringchar \xC4\x85 ±
+altstringchar \xC4\x84 ¡
+altstringchar \xC4\x87 æ
+altstringchar \xC4\x86 Æ
+altstringchar \xC4\x99 ê
+altstringchar \xC4\x98 Ê
+altstringchar \xC5\x82 ³
+altstringchar \xC5\x81 £
+altstringchar \xC5\x84 ñ
+altstringchar \xC5\x83 Ñ
+altstringchar \xC3\xB3 ó
+altstringchar \xC3\x93 Ó
+altstringchar \xC5\x9B ¶
+altstringchar \xC5\x9A ¦
+altstringchar \xC5\xBA ¼
+altstringchar \xC5\xB9 ¬
+altstringchar \xC5\xBC ¿
+altstringchar \xC5\xBB ¯
+# zapo¿yczone
+altstringchar \xC5\xA1 ¹
+altstringchar \xC5\xA0 ©
+altstringchar \xC3\xA9 é
+altstringchar \xC3\x89 É
+altstringchar \xC3\xAB ë
+altstringchar \xC3\x8B Ë
+altstringchar \xC3\xB6 ö
+altstringchar \xC3\x96 Ö
+altstringchar \xC3\xBC ü
+altstringchar \xC3\x9C Ü
 
 #
 #zestaw flag   b   d e f g h i j k l m n o p q r s t u v w x y z