<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/localeinit.c, branch v4.0.4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Revert "mac: Fallback empty codeset to UTF-8"</title>
<updated>2025-09-05T05:16:49+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-09-05T05:16:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=efea70f4594e147b15692bf5cf7dae733bd92147'/>
<id>efea70f4594e147b15692bf5cf7dae733bd92147</id>
<content type='text'>
This reverts commit 334d49376dd1afca7427d5e2070d5cc9e270361a.
Seems just `LC_CTYPE` was set to a wrong value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 334d49376dd1afca7427d5e2070d5cc9e270361a.
Seems just `LC_CTYPE` was set to a wrong value.
</pre>
</div>
</content>
</entry>
<entry>
<title>mac: Fallback empty codeset to UTF-8</title>
<updated>2025-09-05T03:16:07+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-09-04T11:46:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=334d49376dd1afca7427d5e2070d5cc9e270361a'/>
<id>334d49376dd1afca7427d5e2070d5cc9e270361a</id>
<content type='text'>
Workaround for a very strange behavior in macOS (reported about 10.15
at least): `nl_langinfo(CODESET)` returns an empty string until the
parent shell sets `LC_CTYPE` (even if it doesn't export it).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Workaround for a very strange behavior in macOS (reported about 10.15
at least): `nl_langinfo(CODESET)` returns an empty string until the
parent shell sets `LC_CTYPE` (even if it doesn't export it).
</pre>
</div>
</content>
</entry>
<entry>
<title>Expand tabs [ci skip]</title>
<updated>2022-07-21T16:42:04+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-07-21T16:23:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5b21e94bebed90180d8ff63dad03b8b948361089'/>
<id>5b21e94bebed90180d8ff63dad03b8b948361089</id>
<content type='text'>
[Misc #18891]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Misc #18891]
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename ENCINDEX_ASCII to ENCINDEX_ASCII_8BIT</title>
<updated>2022-07-19T06:48:56+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2022-07-13T09:54:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d084585f01b57727a5778f2f6723b89c6d98a9d4'/>
<id>d084585f01b57727a5778f2f6723b89c6d98a9d4</id>
<content type='text'>
Otherwise it's way too easy to confuse it with US_ASCII.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise it's way too easy to confuse it with US_ASCII.
</pre>
</div>
</content>
</entry>
<entry>
<title>win32: Use UTF-8 as filesystem encoding [Feature #12654]</title>
<updated>2020-12-20T09:34:04+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-12-19T17:16:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5b98b2ce39ed979aec614365a2dc3e1c30052bca'/>
<id>5b98b2ce39ed979aec614365a2dc3e1c30052bca</id>
<content type='text'>
Co-Authored-By: Dāvis Mosāns &lt;davispuh@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-Authored-By: Dāvis Mosāns &lt;davispuh@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>internal.h: remove dependecy on ruby/encoding.h</title>
<updated>2018-01-09T06:24:11+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2018-01-09T06:24:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e9cb552ec960d96f9f7b481d67b84b56fd1c4f5f'/>
<id>e9cb552ec960d96f9f7b481d67b84b56fd1c4f5f</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>debug.c: parse locale and filesystem codepages</title>
<updated>2017-06-06T03:45:02+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2017-06-06T03:45:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4529948edd67b88722ca39edbceb7da9042a0869'/>
<id>4529948edd67b88722ca39edbceb7da9042a0869</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>enable ruby_w32_codepage on cygwin</title>
<updated>2017-05-16T00:15:54+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2017-05-16T00:15:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6ec37b8f75e7496897bb1fed321bf6f5ee32d70d'/>
<id>6ec37b8f75e7496897bb1fed321bf6f5ee32d70d</id>
<content type='text'>
* debug.c, localeinit.c: enable ruby_w32_codepage on cygwin too.
  [ruby-core:81163] [Bug #13567]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* debug.c, localeinit.c: enable ruby_w32_codepage on cygwin too.
  [ruby-core:81163] [Bug #13567]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>refer flag variables regardless RUBY_DEBUG_ENV</title>
<updated>2017-05-15T06:17:29+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2017-05-15T06:17:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=39c73ae2a67e17b41a3d849a05b556eae9df1209'/>
<id>39c73ae2a67e17b41a3d849a05b556eae9df1209</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>RUBY_DEBUG codepage option [ci skip]</title>
<updated>2017-03-31T00:35:02+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2017-03-31T00:35:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5c9cd965bec9393e2c5e6594763a8a3efd0ad771'/>
<id>5c9cd965bec9393e2c5e6594763a8a3efd0ad771</id>
<content type='text'>
* debug.c (set_debug_option): add "codepage" option to force
  locale charmap on Windows.

* localeinit.c (locale_charmap): use the codepage by debug env if
  given.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* debug.c (set_debug_option): add "codepage" option to force
  locale charmap on Windows.

* localeinit.c (locale_charmap): use the codepage by debug env if
  given.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
</feed>
