view trunk/src/common.d @ 789:c1d5cfd7aa44

Implemented string literal conversion. Removed two MID messages. Added MSG.InvalidUTF8SequenceInString. Added toUTF16() and toUTF32(). Fixed escape sequences. Added formatBytes() and findInvalidUTF8Sequence().
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Mon, 25 Feb 2008 02:56:22 +0100
parents 3b34f6a95a27
children
line wrap: on
line source

/++
  Author: Aziz Köksal
  License: GPL3
+/
module common;

public import tango.io.Stdout;
public import tango.text.convert.Layout;

/// String aliases.
alias char[] string;
alias wchar[] wstring; /// ditto
alias dchar[] dstring; /// ditto

/// Global formatter instance.
static Layout!(char) Format;
static this()
{
  Format = new typeof(Format);
}