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
Database Workbench Pro 5.5.0
Luxand FaceSDK 7.0
SSIS Data Flow Components 1.10
Entity Developer Professional 6.3
dbForge Index Manager for SQL Server 1.9
dbForge Data Generator For MySQL 2.2
Magento Australia Post eParcel Extension 1.0
Airbnb Script - Airbnb Clone 1.0.3
Hotel Restaurant Reviews and Feedback Script 1.0.3
Documenter for MySQL 1.0
ODBC Driver for xBase 1.1
ODBC Driver for FreshBooks 2.0
AnyGantt JS Gantt Charts 8.4.2
The C# Barcode Library 4.0.2.2
ConyEdit for Windows 1.1.0
Top Code
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
PHP MLM Software 2.0.1
Faculty Evaluation System 1.1
Database Workbench Pro 5.5.0
Sportsbook software by BOOKIE Software 3.01
School Management Script 1.0.4
Image retrieval - Query by Example Demo 1.0
Shopping System for Shopping Carts 1.1
Billing System 1.0.1
SCHOOL MANAGEMENT SOFTWARE 1.2
WordStat 2.0
Real Time Changing Clock v1.0
GnuWin64 64
Skeletonz 1.0b
dbForge Fusion for SQL Server 1.8
Top Rated
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
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.0
WeBuilder 2015 13.3
PHP Digital Download Script 1.0.4
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