Old 03-26-2014, 06:22 AM   #1
draetsch
Human being with feelings
 
Join Date: Mar 2014
Posts: 8
Default String encoding in Reascript

Hi,

I am working with some people on a project for podcasters and we want to add some text to our mediaitems in Reaper.
Everything works fine until our text contains non ascii letters 'öäü' etc. Since we are located in Germany we really need these, but the problem is that Reaper always throws errors due to the string conversion to ascii.

Does somebody know how to work with unicode and encodings when sending strings to Reaper functions, like RPR_ShowConsoleMsg() etc.

Thank you very much

Cheers,

Malte
draetsch is offline   Reply With Quote
Old 03-26-2014, 06:28 AM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,721
Default

I'll look into this; I believe for EEL at least you can use UTF-8 encodings, but for Python there might need to be changes on our end.
Justin is offline   Reply With Quote
Old 03-26-2014, 07:00 AM   #3
draetsch
Human being with feelings
 
Join Date: Mar 2014
Posts: 8
Default

Ok. Thank you. I will look into EEL in the meantime.
draetsch is offline   Reply With Quote
Old 04-16-2014, 01:59 PM   #4
draetsch
Human being with feelings
 
Join Date: Mar 2014
Posts: 8
Default

Hi Justin,
I wanted to ask if UTF-8 support in Python is something we can expect in the near future.
This is obviously a very minor feature but very important for us.
I tried to recreate the text parsing functionality in eel but it is much more low level than pythons parsing capabilities.
Later we want to export certain information into XML format and I'd rather not do this kind of thing in eel because of the lack of proper xml libraries.
I understand that you have lots of more important features on your list.
Should I post this request in the feature request area?

Thank you very much,

Cheers,

Malte
draetsch is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:11 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.