Forum Discussion

RBiems's avatar
RBiems
Copper Contributor
Feb 18, 2025

go to file Url, extended ascii gets converted

Hi all,

I have a textbox action  'go to Url' that has  links like

\\Myserver\Documents\Documents_Uploaded\Czekański DOC01_169645.pdf

When this link is clicked and the browser is opened (tried it with Edge, Chrome) the link is converted to

\\Myserver\Documents\Documents_Uploaded\CzekaÅski DOC01_169645.pdf which doesn't work obviously.

all extended ascii characters seems to be converted to some other extended character when the browser is opened, can I prevent this conversion from happening,  in other words just accept to string the way it is?

And just to make clear when there are no extended ascii characters in the string it works as intended :-)

I tried the  System.Uri.EscapeDataString(URL) and  System.Web.HttpUtility.UrlEncode(URL).ToString
some sites suggested but that doesn't work for files locations only for web urls

Thanks in advance

 

Rbie

 

No RepliesBe the first to reply

Resources