Encoding string

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello.
I have a VBA script that reads the contents of a text file to a variable. In
order to send it to another system I have to encode the string to ISO 8859-1.

Is this possible using Access 2003 VBA?

Thanks.
 
Hi,
don't know what is ISO 8859-1, but you can read your text file character by
character and convert required characters add or subtracting certain value
from it ASC code

charNew=chr(asc(charOld)+128)

--
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com
 

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