Re: special characters in 342137
- From: "Cosme Sevestre" <csevestre gmail com>
- To: f-spot-list gnome org
- Subject: Re: special characters in 342137
- Date: Tue, 25 Jul 2006 18:45:20 +0530
Sweet, thanks!
Looks like we were both looking into it at the exact same time :-)
--
Cosme
On 7/25/06, Stephane Delcroix <stephane delcroix org> wrote:
Hi Cosme, but also hi Dotan, Bengt and all the other guys interested in
this...
>
> Last problem I remember is tags using non ASCII characters as you
> discussed recently.
>
After spending something like 2 hours on tracking this issue, I finally
found out !!!!
it's as simple as replacing (in src/XmpTagsMetadata.cs):
string stmt_pre_str = stmt.Predicate.ToString();
string stmt_obj_str = stmt.Object.ToString()
by:
string stmt_pre_str = stmt.Predicate.ToString();
string stmt_obj_str;
if (stmt.Object is SemWeb.Literal)
stmt_obj_str = ((SemWeb.Literal)(stmt.Object)).Value;
else
stmt_obj_str = stmt.Object.ToString();
Now, the XMP import patch can handle special (read utf8) characters !!!!
--
Stephane Delcroix
stephane delcroix org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]