FrancisFaure / vfp_tmlanguage_generator

VFP: Generate an extension for VS Code which provides support for the Visual FoxPro language
MIT License
12 stars 5 forks source link

Probem with utf8 #1

Closed akvalibra closed 7 years ago

akvalibra commented 8 years ago

Problem with utf8. Wrong conversion. The default code page in my Windows 10 is Cyrillic 1251 (Macedonian)

This is the correction.

function utf8(m.lsString as string) as string return strconv(m.lsString,9) ! return strconv(strconv(m.lsString, 1),9) endfunc

image

FrancisFaure commented 8 years ago

Hi akvalibra,

About your .PRG in VSCode have you found a workaround for encoding .PRG Files in your 1251 PageCode ?

Best regards Francis