Giter VIP home page Giter VIP logo

andry81 / contools Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 0.0 59.35 MB

A wide range of scripts for Windows interpreter (cmd.exe) and other interpreters such as bash shell (.sh), visual basic (.vbs), jscript (.js), python (.py), perl (.pl) and so on. Plus some set of standalone console utilities and tools aside other utilities and tools from cygwin, msys and mingw. • :page_with_curl: https://github.com/andry81-stats/contools--gh-stats :page_with_curl:

Home Page: https://sf.net/p/contools

License: MIT License

Batchfile 32.31% Smarty 4.14% C 0.33% Shell 0.32% Python 0.32% VBScript 10.00% sed 0.31% XSLT 0.20% C++ 50.64% HTML 1.40% Visual Basic 6.0 0.03%
console utility tools batch shell bash vbscript jscript python perl

contools's Introduction

contools's People

Contributors

andry81 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

contools's Issues

wxFileDialog.exe does not support UTF-8

When run from cmd or ps with output (encoding) set to UTF-8,
the utility still outputs in ANSI. And therefore the characters are not displayed.
Same thing if output to a file, it gets ansi encoding.

For cmd it works like this:
chcp 65001
wxFileDialog.exe "" . "Open Me"

Result with Cyrillic file name: Z:\ .txt

Same in PS:
[Console]::InputEncoding = [System.Text.Encoding]::GetEncoding('utf-8')
& .\wxFileDialog.exe "" "." "Open Me"

Result with Cyrillic file name: Z:\ .txt

If you set cmd chcp 866 or PS [Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding('cp866')
then instead of Cyrillic characters are hieroglyphs. That is, the output does not match.
It's not just about Cyrillic, but in general this problem of one encoding output.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.