diff trunk/src/dil/Converter.d @ 755:90668b83ae5e

Introduced new module dil.SourceText and class SourceText.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Wed, 13 Feb 2008 20:21:25 +0100
parents 49fe21aa387c
children 4579e8505d5e
line wrap: on
line diff
--- a/trunk/src/dil/Converter.d	Wed Feb 13 17:10:55 2008 +0100
+++ b/trunk/src/dil/Converter.d	Wed Feb 13 20:21:25 2008 +0100
@@ -178,7 +178,7 @@
   char[] data2UTF8(ubyte[] data)
   {
     if (data.length == 0)
-      return null;
+      return "";
 
     char[] text;
     BOM bom = tellBOM(data);