Help with VB.net and non-ascii characters image paths
Posted: 2009-01-18T06:10:24-07:00
Hey, I need some help about resizing an image with non-ascii characters in it's path using VB.NET... I've tried everything, I'm searching for a solution for over a month, I even thought about encoding the path to Base64 and changing the source to decode it back.. this will be my next try.
Problem is like that: convert.exe converts every image that does not have any non-ascii characters (such as french/arabic/hebrew letters) in its path without any problem.. but whenever I try resizing an image which has a non-ascii character in its path, it just won't convert it.. problem is vb.net uses Unicode (UTF-16) for strings, and convert.exe accepts UTF-8, I have tried converting the encoding, nothing helps.
Any ideas guys? I'm desperate...
Thanks
Problem is like that: convert.exe converts every image that does not have any non-ascii characters (such as french/arabic/hebrew letters) in its path without any problem.. but whenever I try resizing an image which has a non-ascii character in its path, it just won't convert it.. problem is vb.net uses Unicode (UTF-16) for strings, and convert.exe accepts UTF-8, I have tried converting the encoding, nothing helps.
Any ideas guys? I'm desperate...
Thanks