Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It is not possible to be certain, but assuming that what appears to be in your source file and what appears to be displayed has not been transmogrified in transmission, your problem is this:</p> <p>You expect to see (a-acute, n-tilde, o-acute), but you actually see "error characters" (no-break space aka NBSP, currency sign, cent sign).</p> <p>I don't have cxfreeze. My guess is that cxfreeze is doubly encoding your output. This is based on running the following source file using Python 3.2.0 on Windows 7. You will notice that I have used escape sequences for the text characters in order to rule out any noise caused by source encoding problems.</p> <pre><code># coding: ascii ... what you see is what you've got. # expected output: a-acute(e1) n-tilde(f1) o-acute(f3) import sys import unicodedata as ucd text = '\xe1\xf1\xf3' print("expected output:") for c in text: print(ascii(c), ucd.name(c)) print("seen output[%s]" % text) sse = sys.stdout.encoding print(sse) print("Expected raw bytes output:", text.encode(sse)) whoops = text.encode(sse).decode('latin1') print("whoops:") for w in whoops: print(ascii(w), ucd.name(w)) </code></pre> <p>and here is its output. </p> <pre><code>expected output: '\xe1' LATIN SMALL LETTER A WITH ACUTE '\xf1' LATIN SMALL LETTER N WITH TILDE '\xf3' LATIN SMALL LETTER O WITH ACUTE seen output[áñó] cp850 Expected raw bytes output: b'\xa0\xa4\xa2' whoops: '\xa0' NO-BREAK SPACE '\xa4' CURRENCY SIGN '\xa2' CENT SIGN </code></pre> <p>In the brackets after "seen output", I see a-acute, n-tilde, and o-acute as expected. Please run the script with and without cxfreezing, and report (in words) what you see. If the frozen "seen output" is in fact a space followed by a currency sign and a cent sign, you should report the problem (with a link to this answer) to the cxfreeze maintainer.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload