Whether or not "Yanqui" is offensive probably depends on where you're from.
The only place I can think of in the US where Yankee might be considered significantly pejorative is the deep south, where people who never got over the civil war use it as an epithet for meddling outsiders. Nonetheless, it is fairly universally (within the US) considered to refer mainly to people from the northeastern quarter or so of the country -- north of the Mason-Dixon line and east of the Mississippi, approximately. In other words, the area that was known as the North during the civil war. Calling someone from Alabama or Missouri or Texas a Yankee is not significantly different from calling someone from Wessex a Scott. I don't think it would generally be considered offensive, though, unless it's clearly done deliberately to provoke. Most folks I know would just write it off as a foreigner not knowing the local geography very well.
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link
or How to display code and escape characters
are good places to start.