if(String.width(str)>8) error("Bröl");
/ Martin Nilsson (har bott i google)
Previous text:
2003-03-12 17:28: Subject: nettle.cmod
I could do padding. Do you have a good reason you want that rather than an error?
I'm writing the testcases now. I'm also not sure how to deal with wide strings in string2hex. I think that should also be treated as an error (unless there's some extra argument saying how many digits per character you want in the output). What's the easiest way for a pike program to signal an error if it gets a string with wide characters?
/ Niels Möller ()