text entry: replace placeholders on save, so they don't end up in

SMs.
This commit is contained in:
Glenn Maynard
2003-01-06 07:43:14 +00:00
parent 2e50ac566d
commit e5cd3a0800
6 changed files with 39 additions and 11 deletions
+10
View File
@@ -924,6 +924,16 @@ lstring CStringToLstring(const CString &str)
return ret;
}
CString LStringToCString(const lstring &str)
{
CString ret;
for(unsigned i = 0; i < str.size(); ++i)
ret.append(LcharToUTF8(str[i]));
return ret;
}
int unichar_to_utf8 (longchar c, char *outbuf)
{
unsigned int len = 0;