Re: Quotation marks: Using =?UTF-8?B?4oCc4oCd?= instead of ""

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

		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)


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