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
Code Review Bundle 1.0
Magento Delivery Date Scheduler 1.0
Devart Excel Add-ins 1.8
Faculty Evaluation System 1.1
dbForge Studio for PostgreSQL 2.0
Yelp Script - Yelp Clone 1.3
Database Workbench Pro 5.4.6
Extensibility Studio 3.0
Bytescout Spreadsheet SDK 3.0.0.1699
Magento 2 Admin Mobile App 1.0
Data Compare for MySQL 5.3
ODBC Driver for Zoho CRM 1.3
ODBC Driver for SugarCRM 1.3
Bytescout PDF To HTML SDK 9.0.0.3079
Azizi search engine script PHP 4.1.10
Top Code
Heart VI1 Simulator Simulink Investigation 22-Monitoring 1.0
RabbitBB - Online Web Storage Project 20060513
Idem File Synchronization 2.2
Top Rated
Output Messenger 1.8.0
Aliexpress Clone- Ec21 Script 1
Indiegogo Clone 3.0
Advanced MLM Software 1.2
Online Food Ordeing System 1.0
PHP Image Resize Script 1.0
Best Spotify Clone 1.0
Get Random Record Based on Weight 1.0.0
PHP Point of sale 10.0
Travel Portal Script 9.29
Excel Add-in for Bigcommerce 1.6
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.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