r7702: Implement [charset()] attribute.