Dear everyone,

I am using Semantic MediaWiki 0.7 for a student project.
We use Japanese basically.
Normally URL including Japanese is encoded like this.

http://bs1.race.u-tokyo.ac.jp/wiki/index.php/%E6%AD%A6%E7%94%B0%E4%BF%A1%E7%8E%84

It is a normal behavior as Web. 
But RDF exported by Semantic MediaWiki is something different like this.

- <smw:Thing 
rdf:about="http://bs1.race.u-tokyo.ac.jp/wiki/index.php/Special:URIResolver/-E6-AD-A6-E7-94-B0-E4-BF-A1-E7-8E-84";>
  <rdfs:label>武田信玄</rdfs:label> 
  <smw:hasArticle 
rdf:resource="http://bs1.race.u-tokyo.ac.jp/wiki/index.php/%E6%AD%A6%E7%94%B0%E4%BF%A1%E7%8E%84";
 /> 
  <rdfs:isDefinedBy 
rdf:resource="http://bs1.race.u-tokyo.ac.jp/wiki/index.php/Special:ExportRDF/%E6%AD%A6%E7%94%B0%E4%BF%A1%E7%8E%84";
 /> 
  <wiki:Relation-3A-E7-88-B6 
rdf:resource="http://bs1.race.u-tokyo.ac.jp/wiki/index.php/Special:URIResolver/-E6-AD-A6-E7-94-B0-E4-BF-A1-E8-99-8E";
 /> 
  </smw:Thing>

See 
http://bs1.race.u-tokyo.ac.jp/wiki/index.php/Special:ExportRDF/%E6%AD%A6%E7%94%B0%E4%BF%A1%E7%8E%84

"%" is replaced by "-".

Are there any reasons to do that? 
Such translation makes it impossible to decode the string to the
original string.

--------------------------------------------------------------------
Hideaki Takeda, Dr. Eng. 
National Institute of Informatics http://www-kasm.nii.ac.jp/~takeda/
RACE, The University of Tokyo http://www.race.u-tokyo.ac.jp/~takeda/
--------------------------------------------------------------------


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Reply via email to