Encoding of $appdata on XP?

Mark Schonewille m.schonewille at economy-x-talk.com
Mon Jan 26 12:16:16 EST 2009


Hi Malte,

Read the variable with VBScript and convert it to the short file path  
before returning it to Revolution.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

We are always looking for new projects! Feel free to contact us to  
discuss your custom software project!

On 26 jan 2009, at 16:55, Malte Brill wrote:

> Hi there,
>
> I need to read out $appdata on XP. As long as there are no Umlauts  
> all is fine. As soon as there is an umlaut it breaks:
>
> Username: ßäöütz é
>
> specialfolderpath(26): C:/Dokumente und Einstellungen/ßäöütz é/ 
> Anwendungsdaten
> $appdata: C:\Dokumente und Einstellungen\á„”tz  
> ‚\Anwendungsdaten
>
> I need $appdata, because the path for specialfolderpath(26) does not  
> necessariely exist in a citrix environment.
>
> Any ideas how to make sense out of the gibberish?
>
> Malte





More information about the use-livecode mailing list