{"id":20697238,"url":"https://github.com/tsnsoft/cppconsoleutf8win","last_synced_at":"2025-08-02T04:35:43.139Z","repository":{"id":237405437,"uuid":"720811870","full_name":"tsnsoft/CppConsoleUTF8win","owner":"tsnsoft","description":"Пример простейшей консольной программы на C++ с использованием boost для Visual Studio 2022","archived":false,"fork":false,"pushed_at":"2023-11-19T17:14:57.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-11T02:49:47.948Z","etag":null,"topics":["boost","console","cpp","utf-8","visual-studio"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsnsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-19T17:14:53.000Z","updated_at":"2023-11-19T17:15:39.000Z","dependencies_parsed_at":"2024-05-01T11:42:28.176Z","dependency_job_id":null,"html_url":"https://github.com/tsnsoft/CppConsoleUTF8win","commit_stats":null,"previous_names":["tsnsoft/cppconsoleutf8win"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tsnsoft/CppConsoleUTF8win","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsnsoft%2FCppConsoleUTF8win","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsnsoft%2FCppConsoleUTF8win/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsnsoft%2FCppConsoleUTF8win/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsnsoft%2FCppConsoleUTF8win/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsnsoft","download_url":"https://codeload.github.com/tsnsoft/CppConsoleUTF8win/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsnsoft%2FCppConsoleUTF8win/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268334639,"owners_count":24233794,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boost","console","cpp","utf-8","visual-studio"],"created_at":"2024-11-17T00:17:15.131Z","updated_at":"2025-08-02T04:35:43.111Z","avatar_url":"https://github.com/tsnsoft.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CppConsoleUTF8win\nПример простейшей консольной программы на C++ с использованием boost для Visual Studio 2022\n\n```\n#pragma execution_character_set( \"utf-8\" ) // for MSVC\n\n#include \u003cboost/nowide/args.hpp\u003e // for utf8_to_utf16\n#include \u003cboost/nowide/fstream.hpp\u003e\t\t// for fstream\n#include \u003cboost/nowide/iostream.hpp\u003e // for cout, cerr, cin, clog\n\nusing namespace boost::nowide; // for cout, cerr, cin, clog\nusing std::endl; // for endl\n\nint main()\n{\n\t//system(\"chcp 65001\");\n    std::locale::global(std::locale(\"En-us.UTF-8\")); // for MSVC\n\tcout \u003c\u003c \"Testing unicode -- English -- Ελληνικά -- Español -- Русский. aäbcdefghijklmnoöpqrsßtuüvwxyz\\n\";\n\tstd::string fio; // = \"Иванов Иван Иванович\";\n\tcout \u003c\u003c \"Введите строку: \"; \n\tcin \u003e\u003e fio; \n\tcout \u003c\u003c \"Вы ввели: \" \u003c\u003c fio \u003c\u003c \"\\n\";\n\tcout \u003c\u003c \"Размер строки: \" \u003c\u003c fio.length() \u003c\u003c endl;\n\tfor (int i = 0; i \u003c fio.length(); ++i) {\n\t\tcout \u003c\u003c \"[\" \u003c\u003c i \u003c\u003c \"]\" \u003c\u003c fio[i] \u003c\u003c \" (code: \" \u003c\u003c int(fio[i]) \u003c\u003c \")\" \u003c\u003c endl;\n\t}\n\treturn 0;\n}\n```\n\n## Ссылки:\n\nhttps://www.boost.org/\n\nhttps://visualstudio.microsoft.com/ru/vs/community/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsnsoft%2Fcppconsoleutf8win","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsnsoft%2Fcppconsoleutf8win","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsnsoft%2Fcppconsoleutf8win/lists"}