[OS X TeX] Searching the PDF?

Alan Munn amunn at gmx.com
Fri Jan 14 13:12:25 EST 2011


On Jan 14, 2011, at 12:17 PM, Peter Dyballa wrote:

> 
> Am 14.01.2011 um 17:37 schrieb Alan Munn:
> 
>> is there any reason why the default encoding in TeXShop is MacRoman instead of UTF-8?
> 
> 
> Who needs UTF-8? And how often, say, in a decade or the life period of the computer?

I gave two reasons, Pete.  Interoperability, and ease of use for XeLaTeX and LuaLaTeX users.

> 
> Using MacRoman you save some disk space – outside the U.S.A. and the UK. So Dick (Koch) should find a good explanation, because for natives like him it makes no difference, brings no savings ...

The space saved is trivial: here's the size of two 10,000 line files, each line "This is line n", for n=1..10000 in MacRoman, UTF-8, and UTF-16.  Maybe you were thinking of UTF-16?

-rw-r--r--@ 1 alan  staff  248894 Jan 14 13:07 TenThouMac.txt
-rw-r--r--@ 1 alan  staff  497790 Jan 14 13:10 TenThouUTF16.txt
-rw-r--r--@ 1 alan  staff  248897 Jan 14 13:06 TenThouUTF8.txt


-- 
Alan Munn
amunn at gmx.com







More information about the MacOSX-TeX mailing list