Assume you are a Python developer. Can you create a code that handles non-ASCII characters in a given dataset?