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 _______________________________________________ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/desktop-devel-list