[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    l10n-kde4/scripts/pology/file
From:       Chusslove Illich <caslav.ilic () gmx ! net>
Date:       2008-02-03 2:58:03
Message-ID: 1202007483.830760.32482.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 770228 by ilic:

Default newly created catalogs to UTF-8 encoding.

 M  +2 -1      catalog.py  


--- trunk/l10n-kde4/scripts/pology/file/catalog.py #770227:770228
@@ -331,7 +331,7 @@
     type different from an ordinary message entry.
 
     The catalog is a I{monitored} class. The instance variables are limited
-    to a prescribed set and type-checked on assignments. have shadowing
+    to a prescribed set and type-checked on assignment, have shadowing
     I{modification counters}, and any modifications are reflected on the top
     modification counter for the catalog as whole. For example:
 
@@ -422,6 +422,7 @@
             self._header._committed = True # status for sync
             self.__dict__["*"] = m[1:]
         elif create:
+            self._encoding = "UTF-8"
             self._created_from_scratch = True
             self._header = Header()
             self._header._committed = False # status for sync
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic