Re: Quotation marks: Using =?UTF-8?B?4oCc4oCd?= instead of ""
- From: Alan Cox <alan lxorguk ukuu org uk>
- To: "Iain *" <iaingnome gmail com>
- Cc: Wouter menubar gnome org, Dan Winship <danw gnome org>, Bolsterlee <uws+gnome xs4all nl>, Bastien Nocera <hadess hadess net>, desktop-devel-list gnome org
- Subject: Re: Quotation marks: Using “” instead of ""
- Date: Mon, 16 Jun 2008 11:24:48 +0100
BTW: I realised last night there is another way to tackle this which lets
you turn the problem on its head
Given smart quotes directly in code are not valid C and that you need to
distinguish different quotes so can't do a perl 1 liner turn the problem
the other way up
Source - with smart quotes
String generation
Extract with po file tools
Rewrite this with a simple script
Extracted string is en_US translation
Base string has quotes substituted back
Compile
Remove smart quotes and replace with ordinary ones
Compile with gcc
(you could extract the translations from the converted file to
save having to mend all the translations but that might actually be long
term worse)
Alan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]