Unknown question marks appearing when printing characters
<p>For a class project I'm producing a ROT13-like encryption method, the only difference in ours is that instead of the 13th character away, it is the 9th. Surprisingly I was able to produce something that works on lowercase letters to see if my method works.</p>

<p>It works, but for some reason, odd characters appear, more commonly question marks and sometimes just extra characters that aren't in the original character array.</p>

<p>For example: my name results in <code>ljb|nh?</code>. <code>|</code> and <code>?</code> shouldn't be there, at least to my knowledge they shouldn't.</p>

<p>Can anyone tell me why this might be happening by looking at my code?</p>

<pre><code>public class Encrypt {
    public static void main(String[] args) {
        // Lower a-z: 97-122; Higher A-Z: 65-90
        jumble("casey");
    }
    public static void jumble(String input) {
        char[] phraseChar = input.toCharArray();
        // StringBuilder output = new StringBuilder("");

        for (int i = 0; i &lt; phraseChar.length; i++) {
            System.out.print("" + phraseChar[i]);
        }

        System.out.println();

        for (int j = 0; j &lt; phraseChar.length; j++) {
                int i = (int) phraseChar[j];
                if (i &gt;= 'a' &amp;&amp; i &lt;= 'z') {
                    i += 9;
                    if (i &gt; 'z') {
                        int newChar = 96 + (i - 'z');
                        System.out.print((char) newChar);
                    }
                    System.out.print((char) i);
            }
        }
    }
}
</code></pre>

<p>Anyone who can help me pinpoint this problem is a saint.</p>
