Resolve inherit view use Chinese word as attribute text with encode error

inherit a view and with position="attributes" operation. when attribute text as Chinese word raise a encode error