The European BC547 and others have the pins the exact opposite.catcat said:To know which pin is which, place the transistor flat side tward you with the pins facing down; in NPN or PNP the left pin will be the emitter, middle the base, and right the collector.
The Oriental 2SC945 and others have the center pin as the collector.
They are all in the same TO-92 package.