diff --git a/source/dyaml/encoding.d b/source/dyaml/encoding.d index bb7fddc..50c10b9 100644 --- a/source/dyaml/encoding.d +++ b/source/dyaml/encoding.d @@ -1,5 +1,4 @@ - -// Copyright Ferdinand Majerech 2011. +// Copyright Ferdinand Majerech 2014. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) @@ -7,13 +6,6 @@ module dyaml.encoding; -///Text encodings supported by D:YAML. -enum Encoding : ubyte -{ - ///Unicode UTF-8 - UTF_8, - ///Unicode UTF-16 - UTF_16, - ///Unicode UTF-32 - UTF_32 -} +import tinyendian; + +alias Encoding = tinyendian.UTFEncoding;