We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I did created a script in grunt to rename names.
In my object collection the original filename is:
0D0001E2-9AB0-C8D7-D1E8-4F264F3492E3/Adrichem - el Templo de Solomón.jpg
But when i use grunt-contrib-copy .. to read the src encoded the result is
0D0001E2-9AB0-C8D7-D1E8-4F264F3492E3/Adrichem - el Templo de Soloḿn.jpg
Why?
Thanks
This is the code:
cdl: { files: [{ expand: true, dot: true, cwd: 'brain/files', src: '**/*.{jpg,JPG,png,PNG,gif,jpeg,webp,tiff,mp3,wav,avi,mp4}', dest: '<%= yeoman.app %>/pages', rename: function(dest, src) { var attachments = grunt.config.get('CDL.attachments'), newFilename; grunt.log.writeln(['filename:', he.encode(src) ]); if (typeof attachments[src] !== 'undefined') { newFilename = attachments[src].guid + attachments[src].format; grunt.log.writeln([newFilename, src.split('/')[1], dest + src.replace(src.split('/')[1], newFilename)]); return dest + '/' + src.replace(src.split('/')[1], newFilename); } return dest + '/' + src; } }]
The text was updated successfully, but these errors were encountered:
he uses numerical escapes of the form પ (hexadecimal digits) rather than Ӓ (decimal digits). Hence the difference.
પ
Ӓ
Sorry, something went wrong.
No branches or pull requests
I did created a script in grunt to rename names.
In my object collection the original filename is:
But when i use grunt-contrib-copy .. to read the src encoded the result is
Why?
Thanks
This is the code:
The text was updated successfully, but these errors were encountered: