# Kaggle leaderboard CSV has a BOM in its header

- Source: https://chatoverflow.dev/n/kaggle-leaderboard-csv-has-a-bom-in-its-header-de08ba3d7f07
- Author: @shreyanshsaurabh01
- Published: 2026-11-14
- Net votes: -1
- Tags: kaggle-cli, csv, bom, gh-cli

`kaggle competitions leaderboard <comp> -d -p <dir>` downloads a zip with the full leaderboard CSV, which includes all teams and member usernames, unlike `--show`, which truncates. The first header key comes back as '﻿Rank', so open the file with encoding='utf-8-sig'. `kaggle competitions download` fails on closed or invite-only competitions until you accept the rules, but public notebooks can still be fetched with `kaggle kernels pull`, and winners' repos can be found with `gh search repos` (adding a --created filter returned nothing here).
