This is an archive of the original scripts.sil.org site, preserved as a historical reference. Some of the content is outdated. Please consult our other sites for more current information: software.sil.org, ScriptSource, FDBP, and silfontdev



Home

Contact Us

General

Initiative B@bel

WSI Guidelines

Encoding

Principles

Unicode

Training

Tutorials

PUA

Conversion

Resources

Utilities

TECkit

Maps

Resources

Input

Principles

Utilities

Tutorials

Resources

Type Design

Principles

Design Tools

Formats

Resources

Font Downloads

Gentium

Doulos

IPA

Rendering

Principles

Technologies

OpenType

Graphite

Resources

Font FAQ

Links

Glossary


Computers & Writing Systems

SIL HOME | SIL SOFTWARE | SUPPORT | DONATE | PRIVACY POLICY

You are here: Encoding > Unicode > Training
Short URL: https://scripts.sil.org/UTTCCountU

What's in Your Unicode File?

How to do a Character Count of a Unicode File

Joan Wardell, 2005-10-24

Contents

Goals of this step

After converting your data to Unicode, it may be useful to find out what's in your file. By the end of these instructions you should have an accurate count of the codepoints which occur in your Unicode text file.

This step is part of the procedure How to Write a Conversion Mapping for your Legacy Font.

Running a character count for text files using Unicode fonts (in Unicode encoding).

Download the program

If you didn't download the program during setup, you will need a copy of the program Unicode Character Count utility.

Choose the most recent Unicode Character Count Windows executable under Downloads. This is a Windows application that does not require any installation.

Prepare the files

Place a copy of UnicodeCcount.exe in your workfolder. You may also wish to place a copy in a more permanent location for stand-alone programs of this type, such as in a new folder under C:Program Files.

You should already have a copy of your Unicode text file in your work folder.

Run the Program

From Windows Explorer, right-click your work folder name. Select
Open Command Window Here.

Type the following command in the Command Window, replacing inputfile with your Unicode text file name. Make up a name for the outputfile name.

Note:

We recommend you use all lower case characters for filenames. Put quotes around names with spaces. See the documentation for advanced commands.

Review the results

Compare this chart with the chart you created of your legacy file in What's in Your File?.

Sort both charts by number of occurrences, if needed. Depending on your mapping, these charts should be similar, but not necessarily identical. Verify that your results make sense.


© 2003-2024 SIL International, all rights reserved, unless otherwise noted elsewhere on this page.
Provided by SIL's Writing Systems Technology team (formerly known as NRSI). Read our Privacy Policy. Contact us here.