I created a svn hook that calls a php script to send some emails.
The problem is that I am getting incorrect encoded msg's (I think that's what you can call it)

This is what I get in my mail:

> 
> Modified files
>  - /base/view.php
> 
> 
> Mais umas
>  actualiza?\195?\167?\195?\181es
> 
> 
> 

This is what I get when the hook calls the script.
But if I call the script directly (specifying the revision) I get this:

> 
> Modified files
>  - /base/view.php
> 
> 
> Mais umas actualizações
> 
> 
> 

The mail is sent with iso-8859-1 encoding (tried utf-8 and got the same results)

Anyone know what I can use/do to correct this?  

Thanks