This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

support national locales

Old posts that have not been replied to for several years.
Locked
S
Snake
Voice
Posts: 3
Joined: Wed Jun 01, 2005 1:52 am

support national locales

Post by Snake »

I have russian locale with codepage KOI8-R (it is 8-bit codepage).
I'd like to use such command in my tcl-script:

Code: Select all

bind pubm - "#some_channel *some_phrase*" some_proc
where some_phrase is a string in KOI8-R codepage.
But some_proc only run if some_phrase is a 7-bit string.

Please help.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Code: Select all

bind pubm - "#some_chan [encoding convertfrom koi8-r *чертвозьми*]" some_proc
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

demond wrote:*чертвозьми*
interresting choice of words :lol:
S
Snake
Voice
Posts: 3
Joined: Wed Jun 01, 2005 1:52 am

Post by Snake »

demond wrote:

Code: Select all

bind pubm - "#some_chan [encoding convertfrom koi8-r *чертвозьми*]" some_proc
...the same result

I found encoding system identity in config file is a solution of the problem
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

care to elaborate? there is nothing relevant to encoding in the config
S
Snake
Voice
Posts: 3
Joined: Wed Jun 01, 2005 1:52 am

Post by Snake »

demond wrote:care to elaborate? there is nothing relevant to encoding in the config
It'd be take effect to the tcl script.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

how?
Locked