whatisgithub

What is odbc-issue-49?

psibi/odbc-issue-49 — explained in plain English

Analysis updated 2026-07-11 · repo last pushed 2022-04-26

1HaskellAudience · developerComplexity · 1/5DormantSetup · moderate

In one sentence

A minimal Haskell test case that reproduces a character encoding bug with ODBC database connections, showing how the pound sign (£) is returned differently depending on column type.

Mindmap

mindmap
  root((repo))
    What it does
      Reproduces ODBC bug
      Shows pound sign issue
      Compares column types
    Tech stack
      Haskell
      Stack build tool
      ODBC
    Use cases
      File a bug report
      Debug encoding mismatch
      Test ODBC behavior
    Audience
      Library maintainers
      Debugging developers
    Limitations
      No setup guide
      Minimal documentation
      Not a reusable tool
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Reproduce an ODBC character encoding bug to accompany a bug report.

USE CASE 2

Debug a similar Unicode encoding mismatch in your own Haskell ODBC setup.

USE CASE 3

Compare how different database column types return special characters through ODBC.

What is it built with?

HaskellStackODBC

How does it compare?

psibi/odbc-issue-49bobymicroby/boby-alga-toolkitpsibi/mime-mail
Stars1
LanguageHaskellHaskellHaskell
Last pushed2022-04-262021-02-102018-04-18
MaintenanceDormantDormantDormant
Setup difficultymoderateeasyeasy
Complexity1/52/52/5
Audiencedeveloperpm founderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a configured ODBC data source and a database with specific test columns containing Unicode characters.

No license information is provided in this repository.

So what is it?

This repository is a minimal test case demonstrating a specific character encoding issue with ODBC database connections in Haskell. It exists to reproduce and illustrate a problem rather than serve as a tool you'd install and use. ODBC is a standard way for programs to talk to databases like SQL Server or PostgreSQL. When a Haskell program connects to a database through ODBC and retrieves text, there's a question of how characters are represented. This repo shows that the pound sign (£) comes back in two different forms depending on the column type: as a proper text character or as a raw byte sequence. The output in the README demonstrates this discrepancy side by side. The intended audience is likely the maintainer of a Haskell ODBC library or someone debugging a similar encoding mismatch. When a database stores Unicode characters like the pound sign, different column types may return data differently through ODBC, and this repo isolates that behavior so it can be discussed or fixed. It's the kind of project you'd create to accompany a bug report, small, focused, and showing exactly what happens when you run it. There's no real documentation beyond the terminal output itself, so you'd need to look at the Haskell source to understand which database it connects to and how the test table is set up. The project is built with Stack, which is a common Haskell build tool, but the README doesn't walk through setup steps or explain the broader context of the issue.

Copy-paste prompts

Prompt 1
Help me set up a Haskell Stack project that connects to a database via ODBC and retrieves rows containing the pound sign from two different column types to compare encoding behavior.
Prompt 2
I'm seeing a Unicode encoding mismatch where the pound sign comes back differently depending on the database column type through ODBC in Haskell. Walk me through how to isolate and reproduce this issue.
Prompt 3
Show me how to write a minimal Haskell test case using Stack and ODBC that demonstrates characters being returned as raw byte sequences in one column type but as proper text in another.

Frequently asked questions

What is odbc-issue-49?

A minimal Haskell test case that reproduces a character encoding bug with ODBC database connections, showing how the pound sign (£) is returned differently depending on column type.

What language is odbc-issue-49 written in?

Mainly Haskell. The stack also includes Haskell, Stack, ODBC.

Is odbc-issue-49 actively maintained?

Dormant — no commits in 2+ years (last push 2022-04-26).

What license does odbc-issue-49 use?

No license information is provided in this repository.

How hard is odbc-issue-49 to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is odbc-issue-49 for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.