union - export encoding fix