- Timestamp:
- 03/31/08 11:53:54 (8 months ago)
- Location:
- branches/stable/0.5
- Files:
-
- 4 modified
-
include/mapnik/agg_renderer.hpp (modified) (1 diff)
-
include/mapnik/octree.hpp (modified) (1 diff)
-
include/mapnik/unicode.hpp (modified) (1 diff)
-
src/unicode.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/0.5/include/mapnik/agg_renderer.hpp
r637 r685 40 40 namespace mapnik { 41 41 42 classrasterizer;42 struct rasterizer; 43 43 44 44 template <typename T> -
branches/stable/0.5/include/mapnik/octree.hpp
r631 r685 25 25 #define _OCTREE_HPP_ 26 26 27 #include <mapnik/global.hpp> 27 28 #include <boost/format.hpp> 28 29 #include <boost/utility.hpp> -
branches/stable/0.5/include/mapnik/unicode.hpp
r578 r685 29 29 } 30 30 31 #include <mapnik/config.hpp> 31 32 #include <boost/utility.hpp> 33 #include <string> 32 34 33 35 namespace mapnik { 34 class transcoder : private boost::noncopyable36 class MAPNIK_DECL transcoder : private boost::noncopyable 35 37 { 36 38 public: -
branches/stable/0.5/src/unicode.cpp
r621 r685 166 166 std::cerr << "ENCODING = " << encoding << "\n"; 167 167 #endif 168 168 169 #ifdef _WIN32 170 desc_ = iconv_open("UTF-16LE",encoding.c_str()); 171 #else 169 172 #ifndef WORDS_BIGENDIAN 170 173 desc_ = iconv_open("UCS-4LE",encoding.c_str()); … … 172 175 desc_ = iconv_open("UCS-4BE",encoding.c_str()); 173 176 #endif 177 #endif 174 178 } 175 179 … … 180 184 std::wstring output(inleft,0); 181 185 size_t outleft = inleft * sizeof(wchar_t); 182 #if (!defined(OSX_LEOPARD) && defined(DARWIN)) || defined(SUNOS) || defined(FREEBSD) 186 #if (!defined(OSX_LEOPARD) && defined(DARWIN)) || defined(SUNOS) || defined(FREEBSD) || defined(_WIN32) 183 187 const char * in = input.c_str(); 184 188 #else
