Pinyin in Chinese input methods
How pinyin input methods work, and why your typing differs from standard pinyin.
The mechanism
An input method takes the pinyin letters you type and offers candidate characters. You type lai and the IME offers 来, 赖, 莱 and others in frequency order.
Where the letters differ
IME syntax is not standard pinyin: ü is typed as v, tone marks are omitted, and some shortcuts compress syllables. The typing convention leaks into documents, which is why LV appears where LÜ belongs.
Why it matters for names
People type their name into an IME, see characters, and assume the pinyin they typed is the standard spelling. The IME accepts spelling it does not define.
The practical rule
Use an IME for typing Chinese. Use a converter for spelling names officially — the two are different tools with different conventions.
Reading about pinyin is one thing; converting your name is another. Type any Chinese name into the Chinese name to pinyin converter for tones, plain pinyin, passport format and the surname/given-name split.