]> git.lyx.org Git - lyx.git/blobdiff - src/support/docstring.h
* src/encoding.C (latexChar,read):
[lyx.git] / src / support / docstring.h
index ec5f4012c980903e4bf3428cbdf1a6c5499dd4c4..0f466312b8056751c9e3d936c446c46339f71855 100644 (file)
@@ -59,6 +59,9 @@ std::string const to_local8bit(docstring const & s);
 /// convert \p s from the encoding of the file system to ucs4.
 docstring const from_filesystem8bit(std::string const & s);
 
+/// convert \p s from ucs4 to the encoding of the file system.
+std::string const to_filesystem8bit(docstring const & s);
+
 /// Compare a docstring with a C string of ASCII characters
 bool operator==(lyx::docstring const &, char const *);
 
@@ -94,7 +97,7 @@ lyx::docstring & operator+=(lyx::docstring & l, char r);
 
 #if SIZEOF_WCHAR_T != 4 && 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 {$
+namespace std {
 
 template<typename T> void
 char_traits<T>::assign(char_type & c1, char_type const & c2)