summaryrefslogtreecommitdiff
path: root/lib/String.cc
diff options
context:
space:
mode:
authorpixel <pixel>2006-07-16 12:24:54 +0000
committerpixel <pixel>2006-07-16 12:24:54 +0000
commitaa80e2d93acbd2ad9277ab3b377cb96efb8c1eaa (patch)
tree59eb11a44c3aedda7bd5afe5d2a5cdf642addb14 /lib/String.cc
parent309d8c1318d7e92e6f685ad2011d73f8653dd4d1 (diff)
Adding mkdir to LUA
Fixing iconv Fixing the hash table functions
Diffstat (limited to 'lib/String.cc')
-rw-r--r--lib/String.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/String.cc b/lib/String.cc
index 36e6c52..bc5739e 100644
--- a/lib/String.cc
+++ b/lib/String.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: String.cc,v 1.43 2006-02-09 17:03:07 pixel Exp $ */
+/* $Id: String.cc,v 1.44 2006-07-16 12:24:54 pixel Exp $ */
#include <stdio.h>
#include <string.h>
@@ -562,8 +562,9 @@ String String::trim() const {
return rtrim().ltrim();
}
-String & String::iconv(const String & from, const String & to) {
+String & String::iconv(const String & from, const String & _to) {
iconv_t cd;
+ String to = _to + "//TRANSLIT";
#ifdef __linux__
char * inbuf;
#else