Как использовать OAuth2 со Spring Security в Java
Javaican 14.05.2025
Протокол OAuth2 часто путают с механизмами аутентификации, хотя по сути это протокол авторизации. Представьте, что вместо передачи ключей от всего дома вашему другу, который пришёл полить цветы, вы. . .
Анализ текста на Python с NLTK и Spacy
AI_Generated 14.05.2025
NLTK, старожил в мире обработки естественного языка на Python, содержит богатейшую коллекцию алгоритмов и готовых моделей. Эта библиотека отлично подходит для образовательных целей и. . .
Реализация DI в PHP
Jason-Webb 13.05.2025
Когда я начинал писать свой первый крупный PHP-проект, моя архитектура напоминала запутаный клубок спагетти. Классы создавали другие классы внутри себя, зависимости жостко прописывались в коде, а о. . .
Обработка изображений в реальном времени на C# с OpenCV
stackOverflow 13.05.2025
Объединение библиотеки компьютерного зрения OpenCV с современным языком программирования C# создаёт симбиоз, который открывает доступ к впечатляющему набору возможностей. Ключевое преимущество этого. . .
POCO, ACE, Loki и другие продвинутые C++ библиотеки
NullReferenced 13.05.2025
В C++ разработки существует такое обилие библиотек, что порой кажется, будто ты заблудился в дремучем лесу. И среди этого многообразия POCO (Portable Components) – как маяк для тех, кто ищет. . .
Паттерны проектирования GoF на C#
UnmanagedCoder 13.05.2025
Вы наверняка сталкивались с ситуациями, когда код разрастается до неприличных размеров, а его поддержка становится настоящим испытанием. Именно в такие моменты на помощь приходят паттерны Gang of. . .
Создаем CLI приложение на Python с Prompt Toolkit
py-thonny 13.05.2025
Современные командные интерфейсы давно перестали быть черно-белыми текстовыми программами, которые многие помнят по старым операционным системам. CLI сегодня – это мощные, интуитивные и даже. . .
Конвейеры ETL с Apache Airflow и Python
AI_Generated 13.05.2025
ETL-конвейеры – это набор процессов, отвечающих за извлечение данных из различных источников (Extract), их преобразование в нужный формат (Transform) и загрузку в целевое хранилище (Load). . . .
Выполнение асинхронных задач в Python с asyncio
py-thonny 12.05.2025
Современный мир программирования похож на оживлённый мегаполис – тысячи процессов одновременно требуют внимания, ресурсов и времени. В этих джунглях операций возникают ситуации, когда программа. . .
Работа с gRPC сервисами на C#
UnmanagedCoder 12.05.2025
gRPC (Google Remote Procedure Call) — открытый высокопроизводительный RPC-фреймворк, изначально разработанный компанией Google. Он отличается от традиционых REST-сервисов как минимум тем, что. . .
Thomas Leitner
-
#1
Hi,
I’m using the iconv library form the Ruby Standard Library under Linux
and it works quite well, but the iconv library is not available under
Windows (using the One-Click-Installer). Is there anything equivalent to
iconv in Ruby for Windows?
Thx,
Thomas
Austin Ziegler
-
#2
I’m using the iconv library form the Ruby Standard Library under Linux
and it works quite well, but the iconv library is not available under
Windows (using the One-Click-Installer). Is there anything equivalent to
iconv in Ruby for Windows?
My recommendation is to request that iconv be included with the
One-Click-Installer.
-austin
Thomas Leitner
-
#3
On Sat, 11 Dec 2004 00:45:11 +0900
| On Sat, 11 Dec 2004 00:17:30 +0900, Thomas Leitner <[email protected]>
| wrote:
| > I’m using the iconv library form the Ruby Standard Library under
| > Linux and it works quite well, but the iconv library is not
| > available under Windows (using the One-Click-Installer). Is there
| > anything equivalent to iconv in Ruby for Windows?
|
| My recommendation is to request that iconv be included with the
| One-Click-Installer.
|
I have looked at the feature request page of the One-Click-Installer
project and there is already a feature request for iconv. Thanks for
pointing me to that!
Thomas
Curt Hibbs
-
#4
Thomas said:
On Sat, 11 Dec 2004 00:45:11 +0900
| On Sat, 11 Dec 2004 00:17:30 +0900, Thomas Leitner <[email protected]>
| wrote:
| > I’m using the iconv library form the Ruby Standard Library under
| > Linux and it works quite well, but the iconv library is not
| > available under Windows (using the One-Click-Installer). Is there
| > anything equivalent to iconv in Ruby for Windows?
|
| My recommendation is to request that iconv be included with the
| One-Click-Installer.
|I have looked at the feature request page of the One-Click-Installer
project and there is already a feature request for iconv. Thanks for
pointing me to that!
If someone would be willing to package iconv as a RubyGem, them it would
become immediately available thru a simple «gem install iconv», since
RubyGems is now included in the one-click installer.
Curt
gabriele renzi
-
#5
Curt Hibbs ha scritto:
If someone would be willing to package iconv as a RubyGem, them it would
become immediately available thru a simple «gem install iconv», since
RubyGems is now included in the one-click installer.Curt
yes, but iconv is one of the things that is part of the standard ruby
(it is a c bingind in /ext) so it would be nice to see it provided with
the standard 1-click-installer (maybe with the proper iconv utility)
Austin Ziegler
-
#6
Curt Hibbs ha scritto:
yes, but iconv is one of the things that is part of the standard ruby
(it is a c bingind in /ext) so it would be nice to see it provided with
the standard 1-click-installer (maybe with the proper iconv utility)
Right. If it’s provided with standard Ruby (e.g., OpenSSL, iconv, a
few other things), then the 1-click installer should include them.
I personally don’t like the idea of forcing users to use RubyGems for
a lot of things that are currently in the installer.
-austin
Curt Hibbs
-
#7
gabriele said:
Curt Hibbs ha scritto:
yes, but iconv is one of the things that is part of the standard ruby
(it is a c bingind in /ext) so it would be nice to see it provided with
the standard 1-click-installer (maybe with the proper iconv utility)
<embarrassed> That’ll teach me to dash off a quick reply before heading out
to a meeting!
My intention was to use this as an encouragement to use RubyGems, but I sure
did pick the wrong thing!
Curt
Stu
-
#8
Right. If it’s provided with standard Ruby (e.g., OpenSSL, iconv, a
few other things), then the 1-click installer should include them.I personally don’t like the idea of forcing users to use RubyGems for
a lot of things that are currently in the installer.
personally im kinda sick of all the duplication.
i have iconv with my win32 GTK install (gaim),
i have iconv with my apache2 install
i have iconv with my php install
i have iconv with cygwin
i have iconv with DevCPP
i have iconv with subversion
i also have some inconv dlls in my windows\system32 which I dont
know what app owns.
i dont mind having the world + kitchen sink in the 1click installer
as long as I can checkbox it out and not break anything if I have
iconv installed by something else already.
where is the line? if we add openssl are we going to add mysql just
for kicks? or postgresql? how about a c compiler since some extensions
require compilation??
— Stu —
[FAQ] Write Your Own Operating System
http://www.mega-tokyo.com/osfaq2
Austin Ziegler
-
#9
personally im kinda sick of all the duplication.
For extra/external libraries, I can agree with you. Thus, iconv.dll
should only be installed when it is selected (which it should be, by
default). However, iconv.so — the Ruby interface to iconv — must
be installed regardless. Maybe the installer can check to see if it
can load iconv.dll from the PATH before it selects the iconv.dll
installation by default.
MySQL and PostgresQL (the databases, not the bindings) would not be
included because they are clearly separate libraries that a user
must want to use. Iconv and OpenSSL are *assumed* by Ruby to be part
of a working operating system.
At a minimum, the Ruby bindings must be included. If there are
redistributables (e.g., openssl.dll, iconv.dll) that would be
beneficial, they should be included but made optional for
installation.
The point is to have a complete installer for people who would run
our applications, not just programmers. If not, then we tell people
on Windows to download and install fifteen things *before they can
even RUN Ruby*.
-austin
Carlos
-
#10
personally im kinda sick of all the duplication.
i have iconv with my win32 GTK install (gaim),
i have iconv with my apache2 install
i have iconv with my php install
i have iconv with cygwin
i have iconv with DevCPP
i have iconv with subversion
i also have some inconv dlls in my windows\system32 which I dont
know what app owns.
Hopefully you’ll be able to configure all of these to use ruby’s iconv and
stop the duplication.
i dont mind having the world + kitchen sink in the 1click installer
as long as I can checkbox it out and not break anything if I have
iconv installed by something else already.
That’s a good idea.
where is the line? if we add openssl are we going to add mysql just
for kicks? or postgresql? how about a c compiler since some extensions
require compilation??
The extensions in ruby’s ext directory. And they should come precompiled.
Stu
-
#11
At a minimum, the Ruby bindings must be included. If there are
redistributables (e.g., openssl.dll, iconv.dll) that would be
beneficial, they should be included but made optional for
installation.The point is to have a complete installer for people who would run
our applications, not just programmers. If not, then we tell people
on Windows to download and install fifteen things *before they can
even RUN Ruby*.
like i said, I have nothing against loading the installer with
everything under the sun, its a great way to distribute a base
install etc.
and id love to see more binary extensions come with the installer,
for things that are a PITA to build oneself (ala mod_ruby, db drivers,
ncurses, etc).
its easy to say XYZ is in rubygems, and it would be quite easy
for a non-programmer to gem install XYZ.. but do we expect
non-programmers to have compilers installed if they try to
gem install ncurses??
the other side of the coin is a base ruby install with nothing else
and some secondary install packs, say ruby-database-1click-installer
or ruby-widgets-1click for gtk/wx/fox/etc, mm im going off on tangents
now…
— Stu —
[FAQ] Write Your Own Operating System
http://www.mega-tokyo.com/osfaq2
gabriele renzi
-
#12
Stu ha scritto:
personally im kinda sick of all the duplication.
i have iconv with my win32 GTK install (gaim),
i have iconv with my apache2 install
i have iconv with my php install
i have iconv with cygwin
i have iconv with DevCPP
i have iconv with subversion
i also have some inconv dlls in my windows\system32 which I dont
know what app owns.i dont mind having the world + kitchen sink in the 1click installer
as long as I can checkbox it out and not break anything if I have
iconv installed by something else already.where is the line? if we add openssl are we going to add mysql just
for kicks? or postgresql? how about a c compiler since some extensions
require compilation??
just a thing: you can get a binary ruby for win32 withouth all the
useful but not necessary stuff from here:
http://www.garbagecollect.jp/ruby/mswin32/en/
Gavin Sinclair
-
#13
where is the line? if we add openssl are we going to add mysql just
for kicks? or postgresql? how about a c compiler since some extensions
require compilation??
People tend to think that if it’s installed with Ruby on other
systems, it should be installed on Windows with Ruby as well. That
includes openssl and iconv, and omits mysql, postgresql, and a C
compiler
Gavin
Alexander Kellett
-
#14
curses would sure be nice
People tend to think that if it’s installed with Ruby on other
systems, it should be installed on Windows with Ruby as well. That
includes openssl and iconv, and omits mysql, postgresql, and a C
compilerGavin
Daniel Berger
-
#15
Alexander said:
curses would sure be nice
Without cygwin, the closest I think you can get is win32-console.
Available on the RAA.
Regards,
Dan
gabriele renzi
-
#16
Daniel Berger ha scritto:
Without cygwin, the closest I think you can get is win32-console.
Available on the RAA.
I may be wrong, but IIRC, ext/curses worked reasonably when compiled
with pdcurses.
Alexander Kellett
-
#17
yup works fine. there was at some point a perfectly working
ruby mswin32 build that worked well with the pdcurses download
though i can’t find this anymore. domain was d4win or something
from what i recall. but its been a while.
unfortunately the one-click installer has never supported it so
i’ve had to steer away from it
Alex
Stu
-
#18
Without cygwin, the closest I think you can get is win32-console.
Available on the RAA.
the rubygems ncurses builds with errors but seems to works
(built under vs6 with pdcurses 2.4 or 2.6).
seems to work fine.
even the Im sure it uses pdcurses (as thats whats on my
system) rather than ncurses.
— Stu —
[FAQ] Write Your Own Operating System
http://www.mega-tokyo.com/osfaq2
1
1
Собственно, аналог iconv для виндузятников, с гуи, и работающая с транслитом на выходе (iconv тоже не идеальна: -t ASCII/TRANSLIT не работало у меня на 2х системах, а транскодинг даже без TRANSLIT наворачивался под цигвином). Поэтому утилитка может быть полезна.
Я её использую для поддержания одной мастер-копии, например, генеалогического древа (текстовый файл GEDCOM) в русских буквах, но когда нужна английская версия — она быстро генерится из русской. Естественно, можно перегонять не только GEDCOM файлы, но и любые текстовые файлы.
https://sourceforge.net/projects/aisgedcom/
libiconv for Windows
The libiconv
library for Windows (via the Microsoft Visual C/C++ Compiler (MSVC)) based on GNU libiconv.
Solution file updated to Visual Studio 2022 only.
Version
libiconv
library version 1.18-eed6782
How To Build
- Download and install Visual Studio 2022 Community Edition.
- If applicable, use another accompanying edition for Visual Studio 2022 (e.g. Professional, Enterprise, etc.).
- (Required) Ensure to select the «Desktop development with C++» component from the «Visual Studio Installer» to get all the x86 and x64 build tools.
- (Optional) For compiling ARM64 builds, ensure to also install the «MSVC v### — VS 2022 C++ ARM64 build tools (latest)» individual component from the Visual Studio Installer (where ‘###’ is the current version of MSVC).
- The «Visual Studio Installer» can be launched by typing this name into the Windows search on Windows 11.
- Clone this repository and open up the
Liblconv.sln
project file in Visual Studio. - Select the architecture (e.g.
ARM64
,x64
,x86
) and configuration (e.g.Release
,ReleaseStatic
,Debug
,DebugStatic
) to build for. - From the «Build» menu, click on «Build Solution.»
- Wait for the build to finish.
When finished, ensure that the build was successful.
Supported Builds
Architecture(s) | Configuration(s) | Comment(s) |
---|---|---|
Win32 | Release |
The release dynamic linked-library (DLL) and static library (LIB). |
ReleaseStatic |
The release static library (LIB) only. | |
Debug |
The debug dynamic linked-library (DLL) and static library (LIB). | |
DebugStatic |
The debug static library (LIB) only. | |
x64 | Release |
The release dynamic linked-library (DLL) and static library (LIB). |
ReleaseStatic |
The release static library (LIB) only. | |
Debug |
The debug dynamic linked-library (DLL) and static library (LIB). | |
DebugStatic |
The debug static library (LIB) only. | |
ARM64 | Release |
The release dynamic linked-library (DLL) and static library (LIB). |
ReleaseStatic |
The release static library (LIB) only. | |
Debug |
The debug dynamic linked-library (DLL) and static library (LIB). | |
DebugStatic |
The debug static library (LIB) only. |
Licensing
Refer to the GNU license provided by libiconv
LGPL3.0.
gettext version | libiconv version | Operating system | Flavor | Download |
---|---|---|---|---|
0.25 | 1.17 | 32 bit | shared1 | |
0.25 | 1.17 | 32 bit | static2 | |
0.25 | 1.17 | 64 bit | shared1 | |
0.25 | 1.17 | 64 bit | static2 |
1: shared
means that the programs make use of DLL. The setup size is small, but all the executables needs to stay together with the shipped DLL libraries.
2: static
means that the programs do not use DLL. The setup size is much bigger, but all the executables may be moved around as you like, no DLL-dependencies.
Download statistics
{{ error }}
Date | Version | Shared | Static | Total | Downloads/day | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
32 bits | 64 bits | 32 bits | 64 bits | |||||||||
gettext | iconv | exe | zip | exe | zip | exe | zip | exe | zip | |||
{{ formatDate(group.createdOn) }} | {{ group.vGettext }} | {{ group.vIconv }} | {{ formatInt(group.shared32exe) }} | {{ formatInt(group.shared32zip) }} | {{ formatInt(group.shared64exe) }} | {{ formatInt(group.shared64zip) }} | {{ formatInt(group.static32exe) }} | {{ formatInt(group.static32zip) }} | {{ formatInt(group.static64exe) }} | {{ formatInt(group.static64zip) }} | {{ formatInt(group.total) }} | {{ formatFloat(getGroupdDownloadsPerDay(group)) }} |
Total | {{ formatInt(stats.totals.shared32exe) }} | {{ formatInt(stats.totals.shared32zip) }} | {{ formatInt(stats.totals.shared64exe) }} | {{ formatInt(stats.totals.shared64zip) }} | {{ formatInt(stats.totals.static32exe) }} | {{ formatInt(stats.totals.static32zip) }} | {{ formatInt(stats.totals.static64exe) }} | {{ formatInt(stats.totals.static64zip) }} | {{ formatInt(stats.totals.total) }} |
Code Signing Policy
Since gettext v0.22.5 / iconv v1.17, the built DLLs and executables are signed.
Free code signing is provided by SignPath.io, certificate by SignPath Foundation.
The source code of gettext and iconv is created and maintained by the Free Software Foundation.
This gettext-iconv-windows project only compiles gettext and iconv for Windows, and is maintained by Michele Locati.
Do you want to see what’s behind the scenes? See the source code!
Questions? Start a discussion.
Problems? File an issue.