Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9242373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:34:04+00:00 2026-06-18T08:34:04+00:00

How does the syntax of the pine/alpine address book work with respect to unicode

  • 0

How does the syntax of the pine/alpine address book work with respect to unicode characters? Say that I want to include the entry

Nickname  : søren
Fullname  : sørensen
Fcc       : 
Comment   : 
Addresses : soren@sorensen.something

in my alpine address book. When I open then address book file, this entry coresponds to the line:

=?UTF-8?Q?s=C3=B8ren?=  =?UTF-8?Q?s=C3=B8rensen?=   soren@sorensen.something

I would like to know how this syntax for utf-8 characters work. My motivation for this question is the following: I would like to be able to (by search and replace) to produce a address book file where the real utf-8 characters appaer (since this is more readable), then eddit the file, and then translate back to pine/alpines syntax for utf-8 characters.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T08:34:05+00:00Added an answer on June 18, 2026 at 8:34 am

    I already knew this much about the syntax:

    Local address books (or local cache files for remote address books) are simple text files with lines in the format:

    <nickname>TAB<fullname>TAB<address>TAB<fcc>TAB<comments>
    

    The last two fields are optional. A “line” may be made up of multiple actual lines in the file by using continuation lines, which are lines beginning with SPACE characters. The line breaks may be after TABs or in between addresses in a distribution list. Each actual line in the file must be less than 1000 characters in length.

    This is directly quoted from the page: Alpine Technical Notes page on the official Alpine messaging sytems homepage. The part I did not know, and now have a pretty god guess at, was the part obout how it treatet utf-8 characters. It seems that for each of field <nickname>, <fullname>, <address>, <fcc>, and <comments>, if the field contains some “certain” character as for example æ, ø, or å, then =?UTF-8?Q? is placed in the beginning of that field and ?= in the end. Now, inbetween these two marks the contents of the field is placed, but with spaces replaced by _ and with “certain” characters replaced by =XX=YY og =YY depending on whether the characters UTF-8 Code is either XX YY or just YY. As an example ø is replaced by =C3=B8, since the UTF-8 Code of ø is C3 B8. Also, å, !, and ; are replaced by =C3=A5, =21, and =3B, respectively, because their UTF-8 Codes are C3 A5, 21, and 3B, respectively.

    NOTE: I am not sure which characters makes Alpine implement the tags =?UTF-8?Q? and ?=, but I know that it is fewer characters than gets translated to their UTF-8 Code. For example, a field containing

    sorensen, soren
    

    would just be writen af sorensen, soren, but a field containing

    sørensen, søren
    

    would be converted to

    =?UTF-8?Q?s=C3=B8rensen=2C_s=C3=B8ren?=
    

    I am not entirely shure whether this is correct, but it seems like a pretty god guess as far as the address books I have looked.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am not sure why this syntax does not work. I want to create
Is there a mode in emacs that does syntax highlighting for the R programming
What does this syntax mean? I'm specifically unsure about the missing base address mov
How does this syntax work? before_validation { |user| user.email = email.downcase } I would
When we define a variable with following syntax does that mean it is hanging
the http://username:password@whatever.com syntax does not seem to work with org.apache.http.impl.client.DefaultHttpClient I'm doing a POST
It is important to me that my syntax does not make other developers confused.
Is it possible to do something like this (obviously this syntax does not work):
Why does this syntax work NSString* newDisplayText = [currentDisplayText stringByAppendingString:digit]; while this one, (assigning
I am looking for a LaTeX package that does syntax highlighting on code. For

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.