Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 5:21 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Encoding a URL in UTF-8
PostPosted: November 27th, 2013, 12:34 pm 
Offline

Joined: February 12th, 2005, 3:42 pm
Posts: 28
Location: Switzerland
Opus: 9
OS: Windows 7 Enterprise
System: DELL LATITUDE E7240
Nov. 28 : I solved the problem. Thanks!

Winfried
-------------------------------------------

Hi All,

I use an API and the adequate URL to get words pronounced by voicerss.org/.
From my Windows Opus app, I use 'Play Sound' with the URL to get the audio of my words. It works.
For English words, no problem. But for German words with letters like ü or ö it creates confusion. The same URL manually written to voicerss.org works fine.
I guess the 'Play Sound' doesn't interpret correctly those special letters like ü or ö when it reads a URL.
I would then like to encode that URL in UTF-8 before I get 'Play Sound' to read it.
I know there is a encoreURI(uri) javascript function working for web sites, but I don't know to do the same in a Windows app.

Can somebody teach me? I am not a specialist with scripting / javascript.

Thanks in advance!

Winfried - Geneva

_________________
Winfried
Geneva

Opus Pro 7 - Vista 32 Family Ed. Premium - HP pavillon dv6000 - Core 2 duo 1.6Ghz - RAM 2GB - Nvidia Go 7400


For this message fifid has been thanked by : mackavi


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group