So, foobar writes localized text into the command line? It seems oggenc doesn't accept this, and it wouldn't work with LAME too, I fear, but would have to check later.
oggenc seems to accept it:
C:\WINDOWS\system32>oggenc2 -q6,000000 d:\1.wav
Opening with wav module: WAV file reader
Encoding "d:\1.wav" to
"d:\1.ogg"
at quality 6,00
[100,0%] [ 0m00s remaining] -
Done encoding file "d:\1.ogg"
File length: 0m 09,0s
Elapsed time: 0m 01,0s
Rate: 9,3867
Average bitrate: 156,7 kb/s