OnWorks favicon

cstocsp - Online in the Cloud

Run cstocsp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command cstocsp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



cstocs -- charset encoding convertor for the Czech and Slovak languages.


cstocs [options] src_encoding dst_encoding [files ...]


cstocs il2 ascii < file | less
cstocs -i utf8 il2 file1 file2 file3
cstocs --help


Cstocs is a simple conversion utility to change charset encoding of a text. It reads
either specified files or (if none specified) the standard input, assumes that the input
is encoded in "src_encoding" and ties to reencode it into "dst_encoding". The result is
written to the standard output.

Run "cstocs" without parameters to get short help and list of available encodings.

Characters that are not defined in "src_encoding" are passed to the output unchanged.

If source text contains character, that is defined in "src_encoding" but not in
"dst_encoding", it can be handled several ways. For example, character "e with caron"
(symbol ecaron), and "d with caron" (symbol dcaron) are included in the iso-8859-2
encoding, but not in the iso-8859-1. If you will do reencoding of 8859-2 text to 8859-1,
you may want to do one of the following actions:

1. Keep it the same, option "--nofillstring".

2. Do not produce any output instead of "ecaron" symbol, option "--null".

3. Substitute some string (possibly a space) instead of both ecaron and dcaron, options

4. Substitute a letter "d" instead of dcaron, and "e" instead of ecaron. It is even
possible to substitute string instead of symbol, so you can replace the "AE" Latin
character with string "AE" (letter "A", and letter "E"). Or you can replace a
"plusminus sign" with a string "+/-". These substitutions are described in the accent


-i, -i.ext, --inplace.ext
Files specified will be converted in-place, using Perl "-i" facility. Optionaly, an
extension for backup copies may be specified after dot. This parameter has to be the
first one, if specified.

--dir directory
Encoding files are taken from directory instead of the default, which is Cz/Cstocs/enc
in the Perl lib tree. The location of encoding files can also be changed using the
CSTOCSDIR environment variable, but the --dir option has the highest priority.

--fillstring string
If source text contains character, that is defined in the "src_encoding" but not in
the "dst_encoding" nor in the accent file (or accent file is not used), it is replaced
by "string". The default is single space.

Disable changes of characters that would otherwise have fillstring applied. This is
different from "--null" because that cancels that character out.

Completely equivalent to --fillstring "".

--nochange or --noaccent
Do not use the accent file at all.

Use only those rules from the accent file, which rewrite one character to one
character. If this option is specified, character "ecaron" will be rewritten to "e",
but "AE" character will not be rewritten to "AE" string.

Use all rules from accent file. This is the default option.

Use cstocsp online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    Download OpenPDF - Fork of iText
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    Download D3.js
  • 6
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    It ha...
    Download Shadowsocks
  • 7
    GLPI Themes
    GLPI Themes
    Download release at
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • More »

Linux commands