Welcome, Guest
Submit ComicRack for Android bugs to get them squashed
  • Page:
  • 1
  • 2

TOPIC: All manual edits of series + title + no. disappeared!!!

Re: All manual edits of series + title + no. disappeared!!! 5 years 7 months ago #21266

  • cYo
  • cYo's Avatar
  • Offline
  • Moderator
  • Posts: 3476
  • Thank you received: 675
  • Karma: 181
I meant the desktop version.
The administrator has disabled public write access.

Re: All manual edits of series + title + no. disappeared!!! 5 years 7 months ago #21271

  • HeartWare
  • HeartWare's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
It took me a little while to figure out how I could allow CRW to update the ComicInfo.xml file, and it writes it out as follows:
<Title>æøå &amp; ÆØÅ</Title>

ie. it "escapes" the "&" character, but not the national characters. However, your reader ought to be able to handle the entities æ, ø and å in both lower and upper case (as well as all the other valid entities - see list here: www.w3schools.com/tags/ref_entities.asp )
The administrator has disabled public write access.

Re: All manual edits of series + title + no. disappeared!!! 5 years 7 months ago #21272

  • cYo
  • cYo's Avatar
  • Offline
  • Moderator
  • Posts: 3476
  • Thank you received: 675
  • Karma: 181
It does not seem so.
And it is not needed. ComicInfo.xml is an UTF8 file so you can directly write all these special characters (you should open it with an UTF8 capable editor, btw).
The administrator has disabled public write access.

Re: All manual edits of series + title + no. disappeared!!! 5 years 7 months ago #21278

  • HeartWare
  • HeartWare's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
But why does it escape the "&" character, and not the other entities?

It doesn't make any (logical) sense...

If it does it with one, it should do it with all, IMHO...
The administrator has disabled public write access.

Re: All manual edits of series + title + no. disappeared!!! 5 years 7 months ago #21280

  • cYo
  • cYo's Avatar
  • Offline
  • Moderator
  • Posts: 3476
  • Thank you received: 675
  • Karma: 181
because & is a special character.
The administrator has disabled public write access.

Re: All manual edits of series + title + no. disappeared!!! 5 years 7 months ago #21291

  • HeartWare
  • HeartWare's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
And why is it a special character? Because it is used to prefix entities...

But if you don't use entities, then why is "&" a special character, then? :-)

Just asking :-)...
The administrator has disabled public write access.

Re: All manual edits of series + title + no. disappeared!!! 5 years 7 months ago #21292

  • cYo
  • cYo's Avatar
  • Offline
  • Moderator
  • Posts: 3476
  • Thank you received: 675
  • Karma: 181
You need to use entities for some special characters :)

<, >, &
Last Edit: 5 years 7 months ago by cYo.
The administrator has disabled public write access.

Re: All manual edits of series + title + no. disappeared!!! 5 years 7 months ago #21295

  • HeartWare
  • HeartWare's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
Arh, yeah... I had forgotten the "<" and ">" (back to the source code and change my simple ComicInfo.xml writer). Since these must be escaped, and thus must use the "&" as an entity character, this character needs to be escaped as well in order to not be confused with an entity lead character.

It makes sense, now... :-)
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.175 seconds

Who's Online

We have 237 guests and 6 members online