Problem writing files

  • Thread starter Thread starter Rafael Veronezi
  • Start date Start date
R

Rafael Veronezi

I'm having a problem writing files...
It's for a brazilian/portuguese system, wich use accents...
The problem is, that if I write characters in the file with accents... Some
system reads it right... some others wrong... Like the following sample:

Right sentence...
São Paulo

Wrong....
São Paulo

The problem isn't only about presentation...
But I use to transfer files with fixed length, to bank system who's gonna
read that... So the system interprets the register wrong, because of the
total size, wich was increased by one, in that case...
How can I solve that?
Thanks,
Rafa
 
You're writing your files in UTF-8. Set your encoding to whatever you want
it to be (and it's obviously not UTF-8 from your post).

Jerry
 
And how can I do that?

Jerry III said:
You're writing your files in UTF-8. Set your encoding to whatever you want
it to be (and it's obviously not UTF-8 from your post).

Jerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top