Hello
I have some problems with the filename. I want to transmit all the filenames by xmlrpc.
But I have some problems with a special charvalue.
For Example:
@Ripley's unglaubliche Welt
will be saved as (only shown if I pipe "ll . > out.txt" and look at the file or by using xterm)
@Ripley^As_unglaubliche_Welt
This is a problem because ^A is an alias for 0x01 which I can't return in xmlrpc.
Hello
I have some problems with the filename. I want to transmit all the filenames by xmlrpc.
But I have some problems with a special charvalue.
For Example:
@Ripley's unglaubliche Welt
will be saved as (only shown if I pipe "ll . > out.txt" and look at the file or by using xterm)
@Ripley^As_unglaubliche_Welt
This is a problem because ^A is an alias for 0x01 which I can't return in xmlrpc.
I have extended the returned Values to:
// xml encodings (xml-encoded entities are preceded with '&')
static const char AMP = '&';
static const char rawEntity[] = { '<', '>', '&', '\'', '\"', '`', 1, 0x01, 0 };
static const char* xmlEntity[] = { "lt;", "gt;", "amp;", "apos;", "quot;", "acute;", "", "" , 0 };
static const int xmlEntLen[] = { 3, 3, 4, 5, 5, 5, 1, 1 };
But after that I get a "&" for 0x01 because of the AMP.
But I need a ""