Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Spire.PDF for Java 2.7.8
Database Workbench Pro 5.6.10.0
The C# PDF Library 2020.1.5
CAD-Viewer 3DVBVIEW V4
dotConnect for SQLite 5.15
LuaStudio 9.92
EntityDAC 2.3
Devart ODBC Driver for QuickBooks 2.0
phpEnter 5.1.
Udemy Clone script 2.01
VisualNEO Web 19.11.7
VisualNEO for Windows 19.4.29.0
SentiVeillance SDK Trial 7.3
Devart ODBC Driver for PostgreSQL 3.2
SecureBridge 9.2
Top Code
SecureBridge 8.0
dotConnect for SQLite 5.9
EntityDAC 1.6
Database Workbench Pro 5.6.10.0
ATN Site Builder 3.0
ATN Resume Finder 2.0
PHP Review Script 1.0
ICPennyBid Penny Auction Script 4.0
Invoice Manager by PHPJabbers 3.0
Devart ODBC Driver for PostgreSQL 3.2
The C# PDF Library 1.0
Aglowsoft SQL Query Tools 8.2
Classified Ad Lister 1.0
Solid File System OS edition 5.1
ADO.NET Provider for ExactTarget 1.0
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Mazovia encoding for Polish text from MS-DOS era 
File ID: 64111






Mazovia encoding for Polish text from MS-DOS era 
Download Mazovia encoding for Polish text from MS-DOS era http://code.activestate.com/recipes/578040-mazovia-encoding-for-polish-text-from-ms-dos-era/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 14
Submit Rating:
Mazovia encoding for Polish text from MS-DOS era  Description
Description: Some MS-DOS era text or databases in Poland use Mazovia encoding for letters such as: a, e, s, z, z. It is very well described on Polish wikipedia: http://pl.wikipedia.org/wiki/Mazovia_(kod)

There is mazovia.py with Polish encoding. Copy it to the Python Lib/encodings directory. Tested with Python 2.7. For Python 3.2 I had to remove unicode string u prefix.

Usage:

def conv_file(fname):
f = codecs.open(fname, 'rb', 'mazovia')
s = f.read()
f.close()

f = codecs.open(fname + '_utf8', 'wb', 'utf8')
f.write(s)
f.close()

License: Freeware

Related: Encoding, mazovia, Polish

O/S:Windows

Downloads: 14



More Similar Code

Tool to conveniently Import/Export Visual Basic for Applications Modules from MS Excel workbooks, to a folder-structured flat file format, making a useful companion to a CVS system.



Extract Text From HTML is an web based tutorial which deals with seperating a text from the HTML tag in an article that is specified in the URL. Here is a code which can be integrated into users website to perform the above said process. This...



Chilkat Charset Conversion Component can be used for converting text from one charset to another. Supports the conversion of any character encoding to and from Unicode and utf-8. This component supports direct conversions among the alternative...



inClick Pay Per Click Bid for Placement Text Ad Server is a Unix compatible program that allows you to serve text ads on your site in a pay-per-click bid-for-placement environment.



Alternative way of extracting text from a WF XML source.



The MenuDB project is intended to manage recipes, grocery items, pantry contents, generate accurate shopping list and possible nutritional data. The project is meant as a learning tool only for porting experience from MS platforms to other platforms.



Auto Escape Plugin for Rails will provide a plugin for Rails which will automatically escape text from the database to provide some level of protection against XSS attacks.



A Ruby implementation of Dijkstra's Shunting Yard Algorithm, for converting tokens from infix notation to postfix notation (aka Reverse Polish Notation).



Ruby Bindings for the GNU LibIDN library - featuring the most important bits of all LibIDN APIs like performing Stringprep processings, encoding to and decoding from Punycode strings and converting entire domain names to and from the ACE encoded...



A binary-level debugger for Linux i386/32-bit similar to the MS-DOS debugger. No debugging information is necessary. Debugging begins at ld.so, the executable entry point or at main(). There is FPU support.

User Review for Mazovia encoding for Polish text from MS-DOS era
- required fields
     

Please enter text on the image