I got a LCD from Ebay with type B pin out. It works with Atmega8 except 2 issues.
1) When the 10th PIN of LCD is connected with the 11th pin of arduino (PB3 of Atmega8) I cont upload the files to Atmega8. If i do i get an error as follows:
----------------------------------------------
avrdude: verification error, first mismatch at byte 0x0000
0x4c != 0x00
avrdude: verification error; content mismatch
-----------------------------------------------
But when i disconnect the above specified connection the uploading is not a problem at all.
2) I get some extra characters above and below the the actual location of the text. For example if i write "Test" at 20,30 i get T at 20,50 e at 27, 10 something like that. :

Is my LCD is not good or is it Atmega8 specific issue(s).
Thanks.