Jump to content

Search the Community

Showing results for tags 'unicode ansi'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. I need to develop an app that talks to a non-unicode application. This application (graphic) can set font encoding on different objects, so my task is bascially Read string in Excel 2003 or 2007. This string will be UniCodeConvert each character in the string to ANSI (Win12xx)Either save the converted string to a text file or send the string by Ethernet socketTo give an example of point 2: Take the string [Москва] In Unicode this would be 041C 043E 0441 043A 0432 0430 (PROBABLY encoded as 1C 04 3E 04 etc since Excel uses Little Endian) This can be converted to Win1251 according to http://en.wikipedia.org/wiki/Windows-1251 End result would be CC EE F1 EA E2 E0 My question is: has someone done a / know of a UDF to do this job (feed a string of LE bytes in, get a string of ANSI bytes out) - or is there a native Windows function ? If someone could post a small example going from $instring = Москва I would be really happy for any help Attached is a ZIP with two text files. Unicode BOM is the source format. Win1251 destination format. moskva.zip
×
×
  • Create New...