[redland-dev] Redland string encoding
Sebastian Trüg
strueg at mandriva.com
Sat Sep 22 17:16:32 BST 2007
On Saturday 22 September 2007 17:55:17 Dave Beckett wrote:
> Sebastian Trüg wrote:
> > Hello guys,
> >
> > how are strings in redland encoded? I am mainly talking about option
> > strings such as used on librdf_new_storage. Are they in local encoding or
> > utf8?
>
> Strings in Redland are UTF8 with very few exceptions, such as the language
> tags for literals like "en-US-ca" which are an ASCII subset and defined by
> an IETF RFC. I can't think of another exception right now. I would never
> use a local encoding. You can use libiconv, ICU or similar to convert.
that is very good. Once more encoding question: are URIs encoded as ascii
using % syntax or also utf8?
Cheers,
Sebastian
More information about the redland-dev
mailing list