My goal is to handle the Unicode characters present in the file name, such that the uni code gets replaced by an underscore. Any help would be deeply appreciated
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
‘c’ ‘:’ ‘\’ ‘p’ ‘r’ ‘o’ ‘g’ and so on are all Unicode characters – they just happen to have code points less that 127.
Given that all the characters in the file name will be Unicode, find the number of characters of the file name and create a string consisting of that number of underscores.