tamtamstudio Posted September 2, 2011 Posted September 2, 2011 Hi all, I'm using runshellscript to rename ID3 Tags using lame, in some mp3 files. every time i've got some non-standard characters (eg. à or a simple '), it result a wrong character. have you got a suggest to prevent this behavior (custom function or else)? thank you in advance, best Corrado
David Jondreau Posted September 2, 2011 Posted September 2, 2011 Use Filter(). I'm not sure what all the permissible characters are, but this should get you started: Let([ alpha= "abcdefghijklmnopqrstuvwxyz" ; alpha = alpha & Upper ( alpha ) ; digits = "1234567890" ; chars = "_|" ; keep = alpha & digits & chars ; result = Filter ( text ; keep ) ]; result )
tamtamstudio Posted September 4, 2011 Author Posted September 4, 2011 Thank you David, it's a workaround to solve problem. (e.g. a` instead à or else) btw in run shellscript function, using eyeD3 (pyton lib) remain problem i can't pass to shell some characters generally included in latin, (in terminal it works perfect, of course) thank you anyway best Corrado :hmm:
Recommended Posts
This topic is 5098 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now