# PATCH: $KCODE global variable

**URL:** <https://www.ruby-forum.com/t/patch-kcode-global-variable/136744>\
**Category:** IronRuby\
**Created:** [May 6, 2008, 1:40am UTC](https://www.ruby-forum.com/t/patch-kcode-global-variable/136744 "2008-05-06T01:40:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![diabolist](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c2a13f/32.png) [@diabolist](https://www.ruby-forum.com/u/diabolist)\
**Post date:** [May 6, 2008, 1:40am UTC](https://www.ruby-forum.com/t/patch-kcode-global-variable/136744/1 "2008-05-06T01:40:43Z")

</div>

Hi All,  
I’m keen to help out the effort and so I started having a look at  
implementing the nkf library.

I’m about half done on nkf but it requires $KCODE so I thought I’d  
contribute that first on it’s own.

Still finding my way around so all feedback appreciated 🙂

Cheers,

Andrew.

P.S. Sorry about spurious diffs in csproj files - I think this must be a  
VS  
version thing.

---

<div class="post-metadata">

**Author:** ![diabolist](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c2a13f/32.png) [@diabolist](https://www.ruby-forum.com/u/diabolist)\
**Post date:** [May 10, 2008, 10:21am UTC](https://www.ruby-forum.com/t/patch-kcode-global-variable/136744/2 "2008-05-10T10:21:12Z")

</div>

Andrew P.:

> I’m keen to help out the effort and so I started having a look at  
> implementing the nkf library.
> 
> I’m about half done on nkf but it requires $KCODE so I thought I’d  
> contribute that first on it’s own.
> 
> Still finding my way around so all feedback appreciated 🙂

Hi Andrew,

Will get to this patch on Monday … thanks for sending it in!

-John
