May
18
awarded Nice Question
May
17
awarded Teacher
May
17
awarded Supporter
May
15
awarded Nice Question
May
5
awarded Notable Question
Apr
25
awarded Nice Answer
Apr
24
accepted naming paths inside a TikZ foreach loop
Apr
23
awarded Enlightened
Apr
23
awarded Nice Answer
Apr
23
awarded Nice Answer
Apr
22
comment Entering unicode math symbols into LaTeX, direct from keyboard, on a Mac
See also: tex.stackexchange.com/questions/1979/…
Apr
22
awarded Nice Answer
Apr
20
awarded Nice Answer
Apr
18
awarded Good Question
Apr
9
awarded Supporter
Apr
8
comment vim latex editing
@dustin: The file command displays information about a file (such as the encoding, if it can be guessed).
Apr
8
comment vim latex editing
@SeanAllred: Actually vim should recognize UTF-16 files automatically (at least it does on my system) and display them correctly. Maybe the ^@s are already written to the file? Then search-and-replace is probably the only option.
Apr
8
comment vim latex editing
@dustin: yes. You can test David's suspicion with file /the/tex/file.tex first (assuming you are on Linux).
Apr
8
comment vim latex editing
iconv -f UTF-16 -t UTF-8 -o output.tex file.tex should work
Apr
8
comment vim latex editing
Find and replace ^@ by nothing, or use the restore command from your verison control (or backup) system.
1 2 3 4 5