On May 17, 2010, at 07:54, Rodrigo Montenegro wrote: > After I set the environment variable LANG to pt_BR.UTF8 the string of the > filename seems to be correct since I do not have to process it anymore to > compare to undesirable chars. > > The main goal has been achieved, the script is blocking undesirable chars but > I still can't print the error message containing the wrong chars to the user. > > Subversion sends the following message: > > "[Error output could not be translated from the native locale to UTF-8.]"
I'm not sure why that is. Could you show us the source of your hook script?