[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#405968: utf8-migration-tool: [PATCH] remove the codeset and modifier of the current locale

-=| Martin-Éric Racine,  9.01.2007 01:39 |=-
>        Taking Catalan as example, the migration would be handled as from
>        ca_ES@valencia to ca_ES.UTF-8, so ~/.dmrc content must be manually
>        changed to ca_ES.UTF-8@valencia afterwards.

Why can't this be automated? Requirement to hand-change ~/.dmrc makes
the automated tool less "automated".

In perl, that would be:

  # "ll_CC[.CODESET]" -> "ll_CC.UTF-8"

  # "ll_CC[.CODESET]@modifier" -> "ll_CC.UTF-8@modifier"

The [.CODESET] part in comments means that ".CODESET" is optional.

Someone using python might convert these appropriately.

Damyan Ivanov                           Modular Software Systems
phone +359(2)928-2611, 929-3993              fax +359(2)920-0994
mobile +359(88)856-6067             dam@jabber.minus273.org/Gaim

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: