<commit_before><?php

return [
    'drivers' => [
        'c5_pdo_mysql' => '\Concrete\Core\Database\Driver\PDOMySqlConcrete5\Driver',
    ],

    /*
     * The location of the doctrine Proxy Classes
     */
    'proxy_classes' => DIR_CONFIG_SITE . '/doctrine/proxies',

    /*
     * Paths to exclude from the doctrine proxy classes
     */
    'proxy_exclusions' => [
        DIR_BASE_CORE . '/' . DIRNAME_CLASSES . '/Support/',
    ],

    /*
     * Workaround for not being able to define indexes on TEXT fields with the current version of Doctrine DBAL.
     * This feature will be removed when DBAL will support it, so don't use this feature.
     */
    'text_indexes' => [
        'PagePaths' => [
            'cPath' => [
                ['cPath', 255],
            ],
        ],
        'Groups' => [
            'gPath' => [
                ['gPath', 255],
            ],
        ],
    ],
];<commit_msg>Add configuration keys to define preferred database charset/collation<commit_after><?php

return [
    'drivers' => [
        'c5_pdo_mysql' => '\Concrete\Core\Database\Driver\PDOMySqlConcrete5\Driver',
    ],

    /*
     * The location of the doctrine Proxy Classes
     */
    'proxy_classes' => DIR_CONFIG_SITE . '/doctrine/proxies',

    /*
     * Paths to exclude from the doctrine proxy classes
     */
    'proxy_exclusions' => [
        DIR_BASE_CORE . '/' . DIRNAME_CLASSES . '/Support/',
    ],

    /*
     * Workaround for not being able to define indexes on TEXT fields with the current version of Doctrine DBAL.
     * This feature will be removed when DBAL will support it, so don't use this feature.
     */
    'text_indexes' => [
        'PagePaths' => [
            'cPath' => [
                ['cPath', 255],
            ],
        ],
        'Groups' => [
            'gPath' => [
                ['gPath', 255],
            ],
        ],
    ],

    // The preferred database character set (will fallback to 'utf8' if unavailable)
    'preferred_charset' => 'utf8mb4',

    // The preferred database collation - leave empty to use the default collation associated to the character set
    // (will fallback to 'utf8_general_ci' preferred_charset is unavailable)
    'preferred_collation' => '',
];
{'fraction_non_alphanumeric': 0.12343470483005367, 'fraction_numerical': 0.008944543828264758, 'mean_word_length': 1.9511873350923483, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6691028', 'n_tokens_mistral': 700, 'n_tokens_neox': 654, 'n_words': 182}