Japan sucks for this. With a western name it gets transliterated into syllables, and so (esp w a middle name) you're writing anywhere from 5 to 15+ characters on forms designed for 5 max.
They're better about it in recent years but it still kinda blows