Special Language character encoding? ex: é ñ

An iPhone client for Growl available on the App Store.
lagrz
Harmless
Posts: 2
Joined: Mon Jul 12, 2010 8:52 pm

Special Language character encoding? ex: é ñ

Postby lagrz » Mon Jul 12, 2010 8:56 pm

I'm currently using the ProwlPHP library to send custom notifications to Prowl but there are times where the notifications contain special spanish characters like é and ñ and so on. I was wondering what is the encoding method that I have to apply to them in order for Prowl to be able to a read them correctly?

Currently when I send a message with any of those characters the push occurs but with a blank message.

Thank you in advanced for the help.

User avatar
zac
Cocoaforge Admin
Posts: 1518
Joined: Sun Mar 27, 2005 3:19 pm
Contact:

Re: Special Language character encoding? ex: é ñ

Postby zac » Mon Jul 12, 2010 10:18 pm

UTF-8 is required.

lagrz
Harmless
Posts: 2
Joined: Mon Jul 12, 2010 8:52 pm

Re: Special Language character encoding? ex: é ñ

Postby lagrz » Mon Jul 12, 2010 11:11 pm

zac wrote:UTF-8 is required.


Great Thanks for the fast reply .. i guess all i needed to do is a simple call to PHP's utf8_encode($this->body) method before i sent the msg


Return to “Prowl”

Who is online

Users browsing this forum: No registered users