Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
N
nx-libs
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 1
    • Issues 1
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • dimbor
  • nx-libs
  • Repository

Switch branch/tag
  • nx-libs
  • nx-X11
  • lib
  • X11
  • lcUniConv
  • iso8859_1.h
Find file
BlameHistoryPermalink
  • Reinhard Tartler's avatar
    Imported nx-X11-3.1.0-1.tar.gz · f4092abd
    Reinhard Tartler authored 13 years ago
    Summary: Imported nx-X11-3.1.0-1.tar.gz
    Keywords:
    
    Imported nx-X11-3.1.0-1.tar.gz
    into Git repository
    f4092abd
iso8859_1.h 341 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
/* $XFree86$ */

/*
 * ISO-8859-1
 */

static int
iso8859_1_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
{
  unsigned char c = *s;
  *pwc = (ucs4_t) c;
  return 1;
}

static int
iso8859_1_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
{
  if (wc < 0x0100) {
    *r = wc;
    return 1;
  }
  return RET_ILSEQ;
}

Replace iso8859_1.h

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.