Utility to transform characters in U-label to A-label and vice versa