9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <russcox@gmail.com>
To: Sergey Reva <rs_rlab@mail.ru>,
	Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] thread, utf
Date: Tue, 17 May 2005 10:04:07 -0400	[thread overview]
Message-ID: <ee9e417a05051707042bcefc85@mail.gmail.com> (raw)
In-Reply-To: <10520507828.20050517155314@mail.ru>

> How can I convert Rune string to Utf-8 sequence? I can't find standard
> function...

runetochar does a single character.  
snprint(buf, sizeof buf, "%S") will convert a string.

russ


      parent reply	other threads:[~2005-05-17 14:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-17 12:53 Sergey Reva
2005-05-17 13:28 ` [9fans] Question on dial() I RATTAN
2005-05-17 14:04   ` Russ Cox
2005-05-17 14:19     ` I RATTAN
2005-05-17 15:35       ` Robert Raschke
2005-05-17 16:04       ` Christoph Lohmann
2005-05-17 16:17       ` "Nils O. Selåsdal"
2005-05-17 14:04 ` Russ Cox [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee9e417a05051707042bcefc85@mail.gmail.com \
    --to=russcox@gmail.com \
    --cc=9fans@cse.psu.edu \
    --cc=rs_rlab@mail.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).