Unix Shell - Text encoding conversion

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > October 2006 > Text encoding conversion





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Text encoding conversion
Pierre Barbier de Reuille

2006-10-24, 1:22 am

Hi,

I am creating a script to convert all the .ogg files I have from my CDs
to .m4a. The problem I have is that flac (the encoder I use for the
m4a) is not accepting utf-8 in its command line for the tags, when the
ogg tags are often in utf-8 :/
For now, I had to create a small Python script to convert the encoding
of the strings, but I was wondering if it was possible to do so with
existing commands (or builtins in some shell ?). For info, I am using
zsh as shell.

Thanks,

Pierre

bsh

2006-10-30, 7:30 pm


Pierre Barbier de Reuille wrote:
> I am creating a script to convert all the .ogg files I have from my CDs
> to .m4a. The problem I have is that flac (the encoder I use for the
> m4a) is not accepting utf-8 in its command line for the tags, when the
> ogg tags are often in utf-8 :/
> For now, I had to create a small Python script to convert the encoding
> of the strings, but I was wondering if it was possible to do so with
> existing commands (or builtins in some shell ?). For info, I am using
> zsh as shell.


Well, since nobody has replied (and I wonder if you have
not already found or created a solution?), here is perhaps
a few resources for you to investigate:

http://freshmeat.net/search/?q=utf-...&Go.x=9&Go.y=11

=Brian

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com