How does Unicode encode characters?