view run/encoding_utf_8.d @ 1626:e160bfec54d5

add test
author Moritz Warning <moritzwarning@web.de>
date Thu, 06 Jan 2011 15:52:55 +0100
parents 0c82f6ca8335
children
line wrap: on
line source

// encoding :utf-8
int main(){
	assert('y'== 0x79);
	assert('€'== 0x80);
	assert('ޙ'== 0x799);
	assert('ࠀ'== 0x800);
	assert(''== 0xFFFA);
	assert('𐀀'== 0x10000);
	assert('𐿽'== 0x10FFD);
	return 0;
}