[izpack-users] Problem with accents on shortcut definition

Daniel Silva ddso.01 at gmail.com
Tue Nov 27 15:56:00 CET 2007


Hi Wellber,

I use portuguese (brazil) WinXP and I didnt have problems with shortcut, but
that´s probably because none of my shortcuts paths included special
characters. I did have problems with special characters when using registry
keys.

In my case, the problem was that the URLs were not  being decoded using
UTF-8. Look at com.izforge.izpack.util.Librarian.revisePath and you will see
what I mean.

Find where in the izPack source code the paths of the shortcuts are being
decoded, then try not to use methods like the revisePath. Try using
URLDecoder.decode(path,"UTF-8"). Recompile izPack and there you go.

I did this with the registry keys and solved my problem. Hope you can use
this to solve yours


2007/11/27, Wellber Lucena <wellber at gmail.com>:
>
> Hi,
>
> I have expirenced some problems when define "words" with accents or
> special characters like á, é, õ and ç on shortcut xml definition. The
> shortcut generated on WinXP appears strange with "crazy" characters.
> Someone had the same problem?
>
> Cheers,
>
> Wellber
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users
>



-- 
Abraços,
Daniel Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20071127/896235df/attachment.html 


More information about the izpack-users mailing list