Lines Matching full:ascii
62 # Step 1: try ASCII
63 label = label.encode("ascii")
77 # Step 4: try ASCII
79 label = label.encode("ascii")
104 # Step 1: Check for ASCII
109 label = label.encode("ascii")
116 # It doesn't say this, but apparently, it should be ASCII now
118 label = label.encode("ascii")
123 return str(label, "ascii")
136 if str(label, "ascii").lower() != str(label2, "ascii"):
155 result = input.encode('ascii')
159 # ASCII name: fast path
198 return input.decode('ascii'), len(input)
263 # Must be ASCII string
264 input = str(input, "ascii")