def loadConvert(string, off=0, length=None):
    """
    Converts encoded \\uxxxx to unicode chars
    and changes special saved chars to their original forms

    @example
    loadConvert('\\==', 0, 2) -> '='

    @param  string  string to process
    @param  off     offset, the beginning index to process, defaults 0
    @param  length  length of the string begin from offset to process,
                    defaults to process to the end
    @return         processed string
    """
    out = []
    if length == None:
        end = len(string)
    else:
        end = off + length
    while off < end:
        aChar = string[off]
        off += 1
        if aChar == '\\':
            aChar = string[off]
            off += 1
            if aChar == 'u':
                aChar = (u'\\u' + string[off:off + 4]).encode().decode(
                    'unicode-escape')
                off += 4
            elif aChar == 't':
                aChar = '\t'
            elif aChar == 'r':
                aChar = '\r'
            elif aChar == 'n':
                aChar = '\n'
            elif aChar == 'f':
                aChar = '\x0c'
        out.append(aChar)
    return ''.join(out)
