Modula-2 Reloaded

A Modern Typesafe & Literate Programming Notation

Site Menu

Project

Specification

Implementation

Recommendations

Reference

Needs Updating

Work in Progress

Wastebasket

Wiki Manual

edit SideBar

Encoding

Required Encodings

Modula-2 source text is encoded in 7-bit ASCII or UTF-8 encodings and all compilers on all platforms must recognise 7-bit ASCII or UTF-8 encoded source text regardless of the actual character set used on the platform.

EBCDIC Support

Modula-2 development systems hosted on EBCDIC based computer systems without ASCII or UTF-8 support are required to provide a preprocessor utility which must be external to the compiler and convert between EBCDIC500 and 7-bit ASCII encoded source text.

6-bit Character Set Support

In the unlikely event that a Modula-2 development system is to be hosted on a 6-bit character set based platform without ASCII or UTF-8 support, the system is required to provide a preprocessor utility which must be external to the compiler and convert between digraph or trigraph encoded 6-bit representation and 7-bit ASCII encoded source text.