Koozali.org: home of the SME Server

patch UTF8 - 04/19/08 update

Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
patch UTF8 - 04/19/08 update
« on: June 26, 2008, 07:20:04 PM »
Hi everybody,

here is a script that allow you to correct all your installed contribs that are not UTF8 compliant. It is based on the script shown here http://wiki.contribs.org/Translations#Conversion_script, but unlike the german one, you can use this one as many time as you want.

I am wondering if it could be a good idea to add this to the post-upgrade event.


Code: [Select]
cd
wget http://smeserver.pialasse.com/fichiers/convert_utf-8.sh
chmod +x convert_utf-8.sh
sh convert_utf-8.sh

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: patch UTF8 - 04/19/08 update
« Reply #1 on: June 26, 2008, 08:20:20 PM »
hi

have you posted it to bugzilla?

Ciao

Stefano

Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: patch UTF8 - 04/19/08 update
« Reply #2 on: June 26, 2008, 09:08:38 PM »
not yet!

i will search for a right openned bug or create one in the week end.


Offline ecureuil

  • *
  • 261
  • +0/-0
Re: patch UTF8 - 04/19/08 update
« Reply #3 on: June 27, 2008, 01:46:04 AM »
I tested. It is very well.

Anne

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: patch UTF8 - 04/19/08 update
« Reply #4 on: June 27, 2008, 01:45:21 PM »
not yet!

i will search for a right openned bug or create one in the week end.
No need to, the bug is this one: http://bugs.contribs.org/show_bug.cgi?id=3858 and both versions of the script have been attached.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: patch UTF8 - 04/19/08 update
« Reply #5 on: June 27, 2008, 04:00:58 PM »
Hi everybody,

here is a script that allow you to correct all your installed contribs that are not UTF8 compliant. It is based on the script shown here http://wiki.contribs.org/Translations#Conversion_script, but unlike the german one, you can use this one as many time as you want.
I updated the wiki accordingly and put the script in the bugtracker so users can download it from there.

I am wondering if it could be a good idea to add this to the post-upgrade event.
This should preferrably be discussed in the bug mentioned in this thread, but I think we need to fix this issue instead of work around it.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: patch UTF8 - 04/19/08 update
« Reply #6 on: June 28, 2008, 01:06:51 AM »
thanks cactus for pushing the script into the good bug post in the bugtracker and to update the wiki, i was waiting to have some returns before adding it to the wiki.

I will add some word in the bugtracker to discuss about this workaround or "fix" ... as fix means fix all contribs ever created ...