View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Petr Bazant[_2_] Petr Bazant[_2_] is offline
external usenet poster
 
Posts: 2
Default Convert string from one codepage to another

Can someone please give me an advise, how to convert in VBA e.g. this
string "VYé¬TOVµNÖ ¬µSTI SOUD.POPLATKU" which comes from DOS 852
codepage to UTF-8 or to Windows-1250 codepage. I was trying to use
e.g. WideCharToMultiByte but I am not experienced enough to do it. BTW
the string should correctly look like this "VYÚČTOVÁNÍ ČÁSTI
SOUD.POPLATKU".