-/// String type for storing the main text in UCS4 encoding
-typedef std::basic_string<char_type> docstring;
-
-} // namespace lyx
-
-
-#if ! defined(USE_WCHAR_T) && defined(__GNUC__) && defined(__GNUC_MINOR__) && __GNUC__ == 3 && __GNUC_MINOR__ < 4
-// Missing char_traits methods in gcc 3.3 and older. Taken from gcc 4.2svn.
-namespace std {
-
-template<typename T> void
-char_traits<T>::assign(char_type & c1, char_type const & c2)
-{
- c1 = c2;
-}
-
-
-template<typename T> bool
-char_traits<T>::eq(char_type const & c1, char_type const & c2)
-{
- return c1 == c2;
-}
+/// Creates a docstring from a C string of ASCII characters
+docstring const from_ascii(char const *);