Brain transplants...

If brain transplants were possible would a persons entire personallity including quirks and habits be transplanted or just their knowledge?