Hi,I have a bunch of txt files that I need to convert to shapefiles. I first wrote a simple script to format the data as comma delimited. But when I opened the converted files in ArcMap, some of characters didn't show up. For example, "COUSOU" would show up as <NULL>, "88F6" would show as "886". But, in some files, they worked fun. Any one knows why and how to deal with it? Here is my code for converting file. Any though would help me a lot. Thank you very much! inFile = open (arcpy.GetParameterAsText(0),'r') outFile = open (arcpy.GetParameterAsText(1),'w') buffer = [] for line in inFile:: line = line.strip() buffer = line.split(' ') buffer = filter (None, buffer) outFile.writelines(",".join(buffer)) outFile.writelines("".join('\n')) inFile.close() outFile.close()