---
title: "Text File (Multi-platform OS)"
description: "The table function read_file_text(path, encoding, ...), which returns the contents of one file as text, whole or one row per line."
language: cs
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/cs/datamodels/os/glossary/text-file
original: https://documentation.invantive.eu/en/datamodels/os/glossary/text-file
updated: 2026-12-05T20:39:34Z
license: https://documentation.invantive.eu/cs/
---

# Text File

The table function read_file_text(path, encoding, ...), which returns the contents of one file as text, whole or one row per line.

read_file_text@os decodes the file with the encoding given, UTF-8 by default. With separate_on_record true it returns one row per record, split on record_separator, which defaults to the line ending of the operating system. The text is the input of csvtable, ndjsontable, jsontable or xmltable, as in from read_file_text@os(path) rft join csvtable(passing rft.file_contents ...).

## Slovníček pojmů

- [Os Driver](glossary/os-driver)
- [Local File Access](glossary/local-file-access)
- [File Listing](glossary/file-listing)
- [Search Pattern](glossary/search-pattern)
- [Directory Listing](glossary/directory-listing)
- [File Information](glossary/file-information)
- [File Contents](glossary/file-contents)
- Text File
- [Encoding](glossary/encoding)
- [File Action](glossary/file-action)
- [File Action Log](glossary/file-action-log)
- [Text Splitting](glossary/text-splitting)


## Poznámky k Vydání

Jaké změny v tabulkách, sloupcích, atributech a funkcích ovladače nastaly v jednotlivých verzích:

- [OS](/cs/release-notes/drivers/os)
