After investigating a little, I see the data is being inserted in Unicode. It makes me quite nervous not seeing the accents but the unicode chars, as when I export my database for other purposes the accents get lost.. thanks for your time!
Dears, you need to write sWidth instead of SWidth.