get codepoint sample