I would first read Encode and it's other perldoc links...
In reply to Re^3: sed character codes by chanio in thread sed character codes by kettle