IEC Connector Pinouts
Devices with these IEC connectors must not make any assumptions about hot and neutral. In U.S. 230V applications, both are hot anyway, as the U.S. uses a split-phase for creating 115V+115V from 230V.

The longer middle pin is ground.