It worked but only if i put \x{CODE}. In DBpedia the file contains \uCode so i 
have to convert mannually 

De: Pablo Mendes 
Data: sexta-feira, 11 de Março de 2011 16:19
Para: José Aguiar 
Cc: [email protected] ; [email protected] 
Assunto: Re: [Dbpedia-discussion] Unicode characters

José, 
I tried this:
http://www.google.de/search?sourceid=chrome&ie=UTF-8&q=unescape+Unicode+characters+perl

And the top result gave me this:
my $unescaped2 = 
Unicode::Escape::unescape($str4);http://search.cpan.org/~itwarrior/Unicode-Escape-0.0.2/lib/Unicode/Escape.pm

Is that what you need?

By the way, is there anybody organizing the PT internationalization effort? 
Should we team up?

Cheers,
Pablo


On Fri, Mar 11, 2011 at 3:08 PM, José Aguiar <[email protected]> wrote:

  Yes i know but how can i convert in perl to extract the valid character? :S



------------------------------------------------------------------------------
  From: [email protected]
  Date: Fri, 11 Mar 2011 16:06:14 +0200
  Subject: Re: [Dbpedia-discussion] Unicode characters
  To: [email protected]
  CC: [email protected]


  Hi Jose,

  they are escaped Unicode characters
  you can look here for details 
http://www.w3.org/TR/rdf-testcases/#ntrip_strings


  On Fri, Mar 11, 2011 at 3:24 PM, José Aguiar <[email protected]> 
wrote:

    Hi everyone,
    I'm José Aguiar and I'm using the Portuguese short abstract file but i saw 
there are some characters in Unicode encoding such as \u...
    How can i convert them to the right utf8 character?
    Thanks.


    
------------------------------------------------------------------------------
    Colocation vs. Managed Hosting
    A question and answer guide to determining the best fit
    for your organization - today and in the future.
    http://p.sf.net/sfu/internap-sfd2d
    _______________________________________________
    Dbpedia-discussion mailing list
    [email protected]
    https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion





  -- 
  Kontokostas Dimitris


  ------------------------------------------------------------------------------
  Colocation vs. Managed Hosting
  A question and answer guide to determining the best fit
  for your organization - today and in the future.
  http://p.sf.net/sfu/internap-sfd2d
  _______________________________________________
  Dbpedia-discussion mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion


<<wlEmoticon-sadsmile[1].png>>

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to