Kodi Community Forum
Extended characters not showing correctly - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: Extended characters not showing correctly (/showthread.php?tid=35246)



Extended characters not showing correctly - clackerdacker - 2008-07-27

Hi,

First off, if my less than useless searching skills have let me down again, sorry. Blush

I'm having a problem whereby the text in Æon Flux for example appears correct in some places and not others. All data is stored in an NFO file which I've attached albeit cut down to remove a bunch of cast details. I'm using Vista Ultimate SP1 Australian English locale and the latest Window version svn14125

Code:
<movie>
  <title>Æon Flux</title>
  <year>2005</year>
  <plot>Academy Award®-winner Charlize Theron stars as Aeon Flux, the underground operative fighting totalitarian rule in 25th-century Earth's last living city.  Aeon is the rebel's best hope of overthrowing the oppressively sterile, "perfect" society. But while on assignemnt to gun down the government's leader, Aeon uncovers a web of startling secrets that could completely change the world's future in this gripping sci-fi action thriller based on the ground-breaking MTV animated series.</plot>
  <runtime>89 Mins</runtime>
  <mpaa>M</mpaa>
  <studio>Paramount Pictures</studio>
  <filenamenandpath>M:\Æon Flux\VIDEO_TS\VIDEO_TS.IFO</filenamenandpath>
  <imdbnumber>tt0402022</imdbnumber>
  <director>Karyn Kusama</director>
  <credits>Phil Hay</credits>
  <genre>Action / Adventure / Sci-Fi / Thriller</genre>
  <rating>5.5</rating>
  <votes>25,339</votes>
  <tagline>The Perfect World Meets The Perfect Assassin</tagline>
  <actor>
    <name>Charlize Theron</name>
    <role>Æon Flux</role>
  </actor>
  <actor>
    <name>Marton Csokas</name>
    <role>Trevor Goodchild</role>
  </actor>
  <actor>
    <name>Jonny Lee Miller</name>
    <role>Oren Goodchild</role>
  </actor>
  <actor>
    <name>Tamara Röhl</name>
    <role>Crier</role>
  </actor>
  <actor>
    <name>Claas Würfel</name>
    <role>Husband</role>
  </actor>
  <actor>
    <name>Jannik Büddig</name>
    <role>Monorail Passenger (uncredited)</role>
  </actor>
  <actor>
    <name>Wil Röttgen</name>
    <role>Man in Museum (uncredited)</role>
  </actor>
  <thumb>M:\Æon Flux\VIDEO_TS\VIDEO_TS.TBN</thumb>
</movie>

If you use this data you should see the problem when you bring up the media information window.

I assume it's me doing something dumb, so could anyone push me in the right direction please?


- clackerdacker - 2008-07-27

Sorry, should have mentioned that it has no problem when using the standard IMDB scrapper?


- jmarshall - 2008-07-27

You should probably specify what the encoding is in the nfo file. i.e. add an encoding declaration as utf8 and save the file as utf8.

Cheers,
Jonathan


- clackerdacker - 2008-07-27

Top marks! Didn't even think of that given I was already applying a UTF-8 encoding object against my IMDB StreamReader object.

Thanks once again.