{"id":50148,"library":"dimchansky-utfbom","title":"utfbom","description":"Package utfbom implements detection and removal of the Unicode Byte Order Mark (BOM).","status":"active","version":"1.1.1","language":"go","source_language":null,"source_url":"https://github.com/dimchansky/utfbom","tags":["unicode","bom","encoding"],"install":[{"cmd":"go get github.com/dimchansky/utfbom","lang":"bash","label":"Install github.com/dimchansky/utfbom"}],"dependencies":[],"imports":[{"symbol":"utfbom","correct":"github.com/dimchansky/utfbom"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"github.com/dimchansky/utfbom\"\n)\n\nfunc main() {\n\tinput := \"\\xef\\xbb\\xbfhello\"\n\treader := utfbom.SkipOnly(strings.NewReader(input))\n\tbuf := make([]byte, 10)\n\tn, _ := reader.Read(buf)\n\tfmt.Printf(\"Without BOM: %s\\n\", buf[:n])\n}","lang":"go","description":"Skips the BOM from a byte stream."},"warnings":[],"env_vars":null,"search_vec":"'bom':14,16 'byte':11 'detect':5 'encod':17 'implement':4 'mark':13 'order':12 'packag':2 'remov':7 'unicod':10,15 'utfbom':1,3","created_at":"2026-06-15T04:42:13.303864+00:00","updated_at":"2026-06-15T04:42:13.303864+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/dimchansky/utfbom","github":"https://github.com/dimchansky/utfbom","docs":"https://pkg.go.dev/github.com/dimchansky/utfbom#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}