Subj : Re: unicode/cp437 door To : bugz From : bugz Date : Thu Apr 01 2021 12:40 am -=> bugz wrote to All <=- bu> I've been working on writing my own door and door library, but I've run bu> into some interesting issues with ENiGMA. In my library, I try to bu> detect if utf8/unicode or cp437 is active, and adjust my output bu> accordingly. Or I could just have ENiGMA call my door with the user's encoding set correctly. There's an access condition for that. In my door menu: { value: { command: "0" } action: [ { acs: EC0 action: @menu:doorAce } { action: @menu:doorAceU8 } ] } And I set the encoding: utf8 in doorAceU8 block, and there we go. If the caller's encoding is CP437, they get doorAce. Otherwise, they get doorAceU8 configured with utf8. Now, I just need to finish writing the door. Take care, bugz .... Don't sweat petty things.... or pet sweaty things. --- MultiMail/Linux v0.52 --- Talisman v0.16-dev (Linux/x86_64) * Origin: HappyLand v2.0 - telnet://happylandbbs.com:11892/ (21:1/182) .