Wiki Markup and UTF-8

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Zugschlus
Regular
Posts: 139
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Wiki Markup and UTF-8

Post by Zugschlus »

Hi,

when I recently migrated my blog from supersized.org to a local installation of s9y, my Umlauts have been broken. I traced the issue to the Wiki Markup Plugin, which I have used for my blog for nearly a year. See an example on http://testblog.zugschlus.de/index.php? ... Umzug.html. To me, this looks like the different bytes of the UTF-8 characters are individually passed through the HTML entity escape code (even if "Entities", the last point in the Plugin configuration of Markup: Wiki, is switched off), resulting in unintended output.

Is this a bug in Markup: Wiki? Is a patch possible? Is a workaround possible?

Currently, Markup: Wiki is the only active event plugin for this s9y instance.

Greetings
Marc
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Wiki Markup and UTF-8

Post by garvinhicking »

Could you post a screenshot of your configuration?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Zugschlus
Regular
Posts: 139
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Re: Wiki Markup and UTF-8

Post by Zugschlus »

garvinhicking wrote:Could you post a screenshot of your configuration?
http://ivanova.notwork.de/~mh/stuff/s9y-conf.html

Greetings
Marc
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Wiki Markup and UTF-8

Post by garvinhicking »

Sorry, I meant the WIKI Plugiun Configuration :-)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Zugschlus
Regular
Posts: 139
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Re: Wiki Markup and UTF-8

Post by Zugschlus »

garvinhicking wrote:Sorry, I meant the WIKI Plugiun Configuration :-)

Regards,
Garvin
http://ivanova.notwork.de/~mh/stuff/wik ... -conf.html

Greetings
Marc
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Wiki Markup and UTF-8

Post by garvinhicking »

Did you try to set "Delimiter" to "Yes"?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Zugschlus
Regular
Posts: 139
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Re: Wiki Markup and UTF-8

Post by Zugschlus »

garvinhicking wrote:Did you try to set "Delimiter" to "Yes"
Öhm. I already answered that one. But the answer did not show up in the forum. Anyway.

Yes, I have tried setting "Delimiter" to "Yes". Doesn't help.

After experimenting a bit with the settings - the only setting that changes anything is "Apply markup to Entry Body", which - if set to "no" - turns off all markup. no links, no bullets, no nothing. But correct Umlauts.

Once I set "Apply markup to Entry Body" to "yes" again, the Umlauts are b0rked again.

Greetings
Marc
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Wiki Markup and UTF-8

Post by garvinhicking »

Then I'm afraid it is a bug with the Text_Wiki plugin. Sadly I know next to nothing about the plugin, since it is also not very commonly used.

Maybe you can ask Tobias Schlitt or the PEAR guys for support? I also know that our WIKI plugin version is a bit outdated.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Zugschlus
Regular
Posts: 139
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Re: Wiki Markup and UTF-8

Post by Zugschlus »

garvinhicking wrote:Then I'm afraid it is a bug with the Text_Wiki plugin. Sadly I know next to nothing about the plugin, since it is also not very commonly used.

Maybe you can ask Tobias Schlitt or the PEAR guys for support? I also know that our WIKI plugin version is a bit outdated.
They would probably recommend using a current version. Is it easily possible to update Text_Wiki inside an s9y installation?

Greetings
Marc
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Wiki Markup and UTF-8

Post by garvinhicking »

They would probably recommend using a current version. Is it easily possible to update Text_Wiki inside an s9y installation?
It should be, it's in our bundled-libs directory. I don't know though if they've changed their API, so that the plugin might no longer work.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Zugschlus
Regular
Posts: 139
Joined: Sun Feb 05, 2006 12:54 am
Location: St. Ilgen, Germany
Contact:

Re: Wiki Markup and UTF-8

Post by Zugschlus »

garvinhicking wrote:
They would probably recommend using a current version. Is it easily possible to update Text_Wiki inside an s9y installation?
It should be, it's in our bundled-libs directory. I don't know though if they've changed their API, so that the plugin might no longer work.
Updating did work, but does not solve the UTF-8-Problem.

Greetings
Marc
--
Marc Haber, St. Ilgen, Germany
https://blog.zugschlus.de/ - nach langer Pause jetzt wieder online
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Time to talk with the plugin author. If I knew more about UTF-8 I would try to help you myself, but I admit I don't have that particular bit of knowledge.
Judebert
---
Website | Wishlist | PayPal
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

I've fixed it today :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Garvin shoots, he SCORES!

GOOOOOOOOOOOAL!!!
Judebert
---
Website | Wishlist | PayPal
Post Reply